gamescope: fix cross compilation

This commit is contained in:
Nick Cao 2024-11-29 11:58:25 -05:00
parent 3dbf6e8399
commit 93b806da89
No known key found for this signature in database

View File

@ -33,7 +33,6 @@
, lib
, makeBinaryWrapper
, nix-update-script
, writeShellScriptBin
, enableExecutable ? true
, enableWsi ? true
}:
@ -101,7 +100,7 @@ stdenv.mkDerivation (finalAttrs: {
cmake
# calls git describe to encode its own version into the build
(writeShellScriptBin "git" "echo ${finalAttrs.version}")
(buildPackages.writeShellScriptBin "git" "echo ${finalAttrs.version}")
] ++ lib.optionals enableExecutable [
makeBinaryWrapper
glslang