quakespasm, vkquake: enable userdirs support

This commit is contained in:
Tad Fisher 2018-04-14 13:51:41 -07:00
parent a2cd43efe8
commit 302c3a7a16
2 changed files with 13 additions and 9 deletions

View File

@ -15,6 +15,8 @@ stdenv.mkDerivation rec {
gzip SDL libvorbis libmad
];
buildFlags = [ "DO_USERDIRS=1" ];
preInstall = ''
mkdir -p "$out/bin"
substituteInPlace Makefile --replace "/usr/local/games" "$out/bin"

View File

@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
makeWrapper gzip SDL2 libvorbis libmad vulkan-loader.dev
];
buildFlags = [ "DO_USERDIRS=1" ];
preInstall = ''
mkdir -p "$out/bin"
'';