mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
Compile SBCL with sb-thread enabled..
svn path=/nixpkgs/trunk/; revision=15835
This commit is contained in:
parent
6556756115
commit
e9eea90443
@ -17,12 +17,27 @@ rec {
|
||||
configureFlags = [];
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = ["setVars" "doFixTests" "doBuild" "doInstall" "doWrap"];
|
||||
phaseNames = ["setVars" "doFixNewer" "doFixTests" "setVersion" "doBuild" "doInstall" "doWrap"];
|
||||
|
||||
setVars = a.fullDepEntry (''
|
||||
export INSTALL_ROOT=$out
|
||||
'') ["minInit"];
|
||||
|
||||
setVersion = a.fullDepEntry (''
|
||||
echo '"${version}.nixos"' > version.lisp-expr
|
||||
echo "
|
||||
(lambda (features)
|
||||
(flet ((enable (x)
|
||||
(pushnew x features))
|
||||
(disable (x)
|
||||
(setf features (remove x features))))
|
||||
(enable :sb-thread))) " > customize-target-features.lisp
|
||||
'') ["minInit" "doUnpack"];
|
||||
|
||||
doFixNewer = a.fullDepEntry(''
|
||||
sed -e 's@> x y@>= x y@' -i contrib/sb-aclrepl/repl.lisp
|
||||
'') ["minInit" "doUnpack"];
|
||||
|
||||
doWrap = a.fullDepEntry (''
|
||||
wrapProgram "$out/bin/sbcl" --set "SBCL_HOME" "$out/lib/sbcl"
|
||||
'') ["minInit" "addInputs"];
|
||||
|
Loading…
Reference in New Issue
Block a user