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
commit 0fe77f449a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 9 deletions

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"

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"
''; '';