mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
heroic: add patch for upstream bugfix
2.7.1 introduced a bug that caused the application to capture common keyboard shortcuts regardless of focus. There has been fixed upstream but not yet made it into a release.
This commit is contained in:
parent
a166a7294c
commit
f89d168e57
|
@ -2,6 +2,7 @@
|
|||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchYarnDeps
|
||||
, fetchpatch
|
||||
, gitUpdater
|
||||
, yarn
|
||||
, fixup_yarn_lock
|
||||
|
@ -30,6 +31,15 @@ in stdenv.mkDerivation rec {
|
|||
sha256 = "sha256-R0lZrVfUH8NucuwarcE47jQ8ex5FY2hK6jJJ2TIRSWY=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix for capturing keyboard shortcuts when not in focus.
|
||||
# TODO: Remove when updating past 2.7.1.
|
||||
(fetchpatch {
|
||||
url = "https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/commit/c82e6ca8dd7070071793fe5a3c4c04b4ae02c3c7.patch";
|
||||
hash = "sha256-Pum67YPejfq8ERv6XWVLQzs+/SyNojmTGTQpE0UR4kg=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
yarn
|
||||
fixup_yarn_lock
|
||||
|
|
Loading…
Reference in a new issue