Merge pull request #38950 from tadfisher/quakespasm-userdirs

quakespasm, vkquake: enable userdirs support
This commit is contained in:
Matthew Justin Bauer
2018-04-20 18:07:05 -05:00
committed by GitHub
2 changed files with 13 additions and 9 deletions
+2
View File
@@ -15,6 +15,8 @@ stdenv.mkDerivation rec {
gzip SDL libvorbis libmad gzip SDL libvorbis libmad
]; ];
buildFlags = [ "DO_USERDIRS=1" ];
preInstall = '' preInstall = ''
mkdir -p "$out/bin" mkdir -p "$out/bin"
substituteInPlace Makefile --replace "/usr/local/games" "$out/bin" substituteInPlace Makefile --replace "/usr/local/games" "$out/bin"
+2
View File
@@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
makeWrapper gzip SDL2 libvorbis libmad vulkan-loader.dev makeWrapper gzip SDL2 libvorbis libmad vulkan-loader.dev
]; ];
buildFlags = [ "DO_USERDIRS=1" ];
preInstall = '' preInstall = ''
mkdir -p "$out/bin" mkdir -p "$out/bin"
''; '';