about summary refs log tree commit diff
path: root/pkgs/by-name/ga
diff options
context:
space:
mode:
authorsuperherointj <5861043+superherointj@users.noreply.github.com>2024-06-21 19:34:37 -0300
committersuperherointj <5861043+superherointj@users.noreply.github.com>2024-06-21 19:52:19 -0300
commit66f3c4997539a81a473f00d3061ea956cacf98d7 (patch)
tree5701171e2089ed79826aebad662a6fbc37ed00df /pkgs/by-name/ga
parentdee7e6f519de4c4a6b897097a7f6a58f8033024f (diff)
gamescope: fix build
Fix breakage from #321418

Co-authored-by: magneticflux-
Diffstat (limited to 'pkgs/by-name/ga')
-rw-r--r--pkgs/by-name/ga/gamescope/package.nix8
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