diff options
author | K900 <me@0upti.me> | 2024-06-22 07:53:44 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-22 07:53:44 +0300 |
commit | 38558849a18384f995fad7223f7043c4e3cfc590 (patch) | |
tree | 040c91c96da7f2587ecd395fba48a2c265e3ce2f | |
parent | 81aff3c1def16bd7aff1fd5f4dc78596853d53c3 (diff) | |
parent | 66f3c4997539a81a473f00d3061ea956cacf98d7 (diff) |
Merge pull request #321616 from superherointj/gamescope-fix-build
gamescope: fix build
-rw-r--r-- | pkgs/by-name/ga/gamescope/package.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/by-name/ga/gamescope/package.nix b/pkgs/by-name/ga/gamescope/package.nix index 4a07becaedc06..6b8ab54cff1a4 100644 --- a/pkgs/by-name/ga/gamescope/package.nix +++ b/pkgs/by-name/ga/gamescope/package.nix @@ -1,4 +1,5 @@ { stdenv +, edid-decode , fetchFromGitHub , meson , pkg-config @@ -18,6 +19,7 @@ , SDL2 , pipewire , pixman +, python3 , libinput , glslang , hwdata @@ -62,6 +64,8 @@ stdenv.mkDerivation (finalAttrs: { # so `placeholder "out"` ends up pointing to the wrong place postPatch = '' substituteInPlace src/reshade_effect_manager.cpp --replace "@out@" "$out" + # Patching shebangs in the main `libdisplay-info` build + patchShebangs subprojects/libdisplay-info/tool/gen-search-table.py ''; mesonFlags = [ @@ -82,6 +86,10 @@ stdenv.mkDerivation (finalAttrs: { meson pkg-config ninja + # For `libdisplay-info` + python3 + hwdata + edid-decode ] ++ lib.optionals enableExecutable [ makeBinaryWrapper glslang |