vkquake: fix build on darwin
This commit is contained in:
parent
11b4c5b070
commit
ff9169be93
1 changed files with 4 additions and 0 deletions
|
@ -36,6 +36,10 @@ stdenv.mkDerivation rec {
|
|||
|
||||
makeFlags = [ "prefix=$(out) bindir=$(out)/bin" ];
|
||||
|
||||
env = lib.optionalAttrs stdenv.isDarwin {
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=unused-but-set-variable";
|
||||
};
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/vkquake \
|
||||
--prefix LD_LIBRARY_PATH : ${vulkan-loader}/lib
|
||||
|
|
Loading…
Reference in a new issue