mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
Workaround SCons paranoia
svn path=/nixpkgs/trunk/; revision=26873
This commit is contained in:
parent
5662304328
commit
964d56e060
@ -394,6 +394,19 @@ let inherit (builtins) head tail trace; in
|
||||
cmake -D CMAKE_INSTALL_PREFIX="$out" ${cmakeRPathFlag}${toString cmakeFlags} ..
|
||||
'') ["minInit" "addInputs" "doUnpack"];
|
||||
|
||||
doScons = fullDepEntry (''
|
||||
ensureDir $out
|
||||
${if (attrByPath ["sconsCleanEnv"] false args)
|
||||
then ""
|
||||
else ''
|
||||
sed -e '1iimport os' -i SConstruct
|
||||
sed -e 's/env *= *Environment *.*/&; env['"'"'ENV'"'"']=os.environ;/' -i SConstruct
|
||||
''
|
||||
}
|
||||
scons PREFIX=$out
|
||||
scons PREFIX=$out install
|
||||
'') ["minInit" "doUnpack" "addInputs" "defEnsureDir"];
|
||||
|
||||
/*debug = x:(trace x x);
|
||||
debugX = x:(trace (toXML x) x);*/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user