opendylan: fix build
--with-gc required path to libraries, not headers. Also: remove unused parameter & set meta.platforms = linux.
This commit is contained in:
parent
09e1b26c79
commit
0f7f6ac0c7
@ -1,5 +1,5 @@
|
|||||||
# Build Open Dylan from source using the binary builds to bootstrap.
|
# Build Open Dylan from source using the binary builds to bootstrap.
|
||||||
{stdenv, fetchgit, patchelf, boehmgc, mps, gnused, opendylan-bootstrap, autoconf, automake, perl, makeWrapper, gcc }:
|
{stdenv, fetchgit, boehmgc, mps, gnused, opendylan-bootstrap, autoconf, automake, perl, makeWrapper, gcc }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "opendylan-2013.2";
|
name = "opendylan-2013.2";
|
||||||
@ -24,7 +24,7 @@ stdenv.mkDerivation {
|
|||||||
./autogen.sh
|
./autogen.sh
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configureFlags = if stdenv.system == "i686-linux" then "--with-mps=$(TMPDIR)/mps" else "--with-gc=${boehmgc.dev}";
|
configureFlags = if stdenv.system == "i686-linux" then "--with-mps=$(TMPDIR)/mps" else "--with-gc=${boehmgc.out}";
|
||||||
buildPhase = "make 3-stage-bootstrap";
|
buildPhase = "make 3-stage-bootstrap";
|
||||||
|
|
||||||
postInstall = "wrapProgram $out/bin/dylan-compiler --suffix PATH : ${gcc}/bin";
|
postInstall = "wrapProgram $out/bin/dylan-compiler --suffix PATH : ${gcc}/bin";
|
||||||
@ -33,5 +33,6 @@ stdenv.mkDerivation {
|
|||||||
homepage = http://opendylan.org;
|
homepage = http://opendylan.org;
|
||||||
description = "A multi-paradigm functional and object-oriented programming language";
|
description = "A multi-paradigm functional and object-oriented programming language";
|
||||||
license = stdenv.lib.licenses.mit;
|
license = stdenv.lib.licenses.mit;
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user