commit
f93b52b8ae
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchgit, gmp }:
|
{ stdenv, fetchgit, makeWrapper, gmp, gcc }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
v = "1.1.9";
|
v = "1.1.9";
|
||||||
|
@ -10,6 +10,7 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "0ja7vyp5rjidb2a1gah35jqzqn6zjkikz5sd966p0f0wh26l6n03";
|
sha256 = "0ja7vyp5rjidb2a1gah35jqzqn6zjkikz5sd966p0f0wh26l6n03";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
buildInputs = [ makeWrapper ];
|
||||||
propagatedBuildInputs = [ gmp ];
|
propagatedBuildInputs = [ gmp ];
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
|
@ -17,6 +18,10 @@ stdenv.mkDerivation rec {
|
||||||
"GMP_LDFLAGS=-L${gmp}/lib"
|
"GMP_LDFLAGS=-L${gmp}/lib"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
wrapProgram $out/bin/mkcl --prefix PATH : "${gcc}/bin"
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "ANSI Common Lisp Implementation";
|
description = "ANSI Common Lisp Implementation";
|
||||||
homepage = https://common-lisp.net/project/mkcl/;
|
homepage = https://common-lisp.net/project/mkcl/;
|
||||||
|
|
|
@ -66,7 +66,7 @@ stdenv.mkDerivation rec {
|
||||||
sh make.sh clisp --prefix=$out
|
sh make.sh clisp --prefix=$out
|
||||||
''
|
''
|
||||||
else ''
|
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 = ''
|
installPhase = ''
|
||||||
|
|
|
@ -66,7 +66,7 @@ stdenv.mkDerivation rec {
|
||||||
sh make.sh clisp --prefix=$out
|
sh make.sh clisp --prefix=$out
|
||||||
''
|
''
|
||||||
else ''
|
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 = ''
|
installPhase = ''
|
||||||
|
|
|
@ -65,7 +65,7 @@ stdenv.mkDerivation rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
sh make.sh --prefix=$out --xc-host="${sbclBootstrapHost}"
|
sh make.sh --prefix=$out --xc-host="${sbclBootstrapHost} --disable-debugger --no-userinit --no-sysinit"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
|
Loading…
Reference in New Issue