mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-13 16:34:27 +00:00
gamescope: fix cross compilation
This commit is contained in:
parent
3dbf6e8399
commit
93b806da89
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user