mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
urbanterror: fix configurePhase
phase
Use `preConfigure` and external file instead.
This commit is contained in:
parent
b2871a6ca8
commit
8f508af8dc
5
pkgs/games/urbanterror/Makefile.local
Normal file
5
pkgs/games/urbanterror/Makefile.local
Normal file
@ -0,0 +1,5 @@
|
||||
USE_CURL = 1
|
||||
USE_CURL_DLOPEN = 0
|
||||
USE_FREETYPE = 1
|
||||
USE_OPENAL = 1
|
||||
USE_OPENAL_DLOPEN = 0
|
@ -56,15 +56,8 @@ stdenv.mkDerivation {
|
||||
SDL
|
||||
];
|
||||
|
||||
configurePhase = ''
|
||||
runHook preConfigure
|
||||
|
||||
echo "USE_OPENAL = 1" > Makefile.local
|
||||
echo "USE_OPENAL_DLOPEN = 0" >> Makefile.local
|
||||
echo "USE_CURL = 1" >> Makefile.local
|
||||
echo "USE_CURL_DLOPEN = 0" >> Makefile.local
|
||||
|
||||
runHook postConfigure
|
||||
preConfigure = ''
|
||||
cp ${./Makefile.local} ./Makefile.local
|
||||
'';
|
||||
|
||||
installTargets = [ "copyfiles" ];
|
||||
|
Loading…
Reference in New Issue
Block a user