3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #10414 from tohl/master

sbcl and mkcl fixes
This commit is contained in:
goibhniu 2015-10-24 17:39:38 +02:00
commit f93b52b8ae
4 changed files with 9 additions and 4 deletions

View file

@ -1,4 +1,4 @@
{ stdenv, fetchgit, gmp }:
{ stdenv, fetchgit, makeWrapper, gmp, gcc }:
stdenv.mkDerivation rec {
v = "1.1.9";
@ -10,6 +10,7 @@ stdenv.mkDerivation rec {
sha256 = "0ja7vyp5rjidb2a1gah35jqzqn6zjkikz5sd966p0f0wh26l6n03";
};
buildInputs = [ makeWrapper ];
propagatedBuildInputs = [ gmp ];
configureFlags = [
@ -17,6 +18,10 @@ stdenv.mkDerivation rec {
"GMP_LDFLAGS=-L${gmp}/lib"
];
postInstall = ''
wrapProgram $out/bin/mkcl --prefix PATH : "${gcc}/bin"
'';
meta = {
description = "ANSI Common Lisp Implementation";
homepage = https://common-lisp.net/project/mkcl/;

View file

@ -66,7 +66,7 @@ stdenv.mkDerivation rec {
sh make.sh clisp --prefix=$out
''
else ''
sh make.sh --prefix=$out --xc-host='${sbclBootstrap}/bin/sbcl --core ${sbclBootstrap}/share/sbcl/sbcl.core --disable-debugger --no-userinit --no-sysinit'
sh make.sh --prefix=$out --xc-host='${sbclBootstrap}/bin/sbcl --disable-debugger --no-userinit --no-sysinit'
'';
installPhase = ''

View file

@ -66,7 +66,7 @@ stdenv.mkDerivation rec {
sh make.sh clisp --prefix=$out
''
else ''
sh make.sh --prefix=$out --xc-host='${sbclBootstrap}/bin/sbcl --core ${sbclBootstrap}/share/sbcl/sbcl.core --disable-debugger --no-userinit --no-sysinit'
sh make.sh --prefix=$out --xc-host='${sbclBootstrap}/bin/sbcl --disable-debugger --no-userinit --no-sysinit'
'';
installPhase = ''

View file

@ -65,7 +65,7 @@ stdenv.mkDerivation rec {
'';
buildPhase = ''
sh make.sh --prefix=$out --xc-host="${sbclBootstrapHost}"
sh make.sh --prefix=$out --xc-host="${sbclBootstrapHost} --disable-debugger --no-userinit --no-sysinit"
'';
installPhase = ''