ecl: Use boehmgc
This commit is contained in:
parent
7c3501724a
commit
63b8275709
@ -4,7 +4,11 @@
|
|||||||
, noUnicode ? false
|
, noUnicode ? false
|
||||||
, gcc
|
, gcc
|
||||||
, threadSupport ? false
|
, threadSupport ? false
|
||||||
|
, useBoehmgc ? true, boehmgc
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
assert useBoehmgc -> boehmgc != null;
|
||||||
|
|
||||||
let
|
let
|
||||||
s = # Generated upstream information
|
s = # Generated upstream information
|
||||||
rec {
|
rec {
|
||||||
@ -19,6 +23,9 @@ let
|
|||||||
];
|
];
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
libffi gmp mpfr gcc
|
libffi gmp mpfr gcc
|
||||||
|
] ++ stdenv.lib.optionals useBoehmgc [
|
||||||
|
# replaces ecl's own gc which other packages can depend on, thus propagated
|
||||||
|
boehmgc
|
||||||
];
|
];
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
, noUnicode ? false
|
, noUnicode ? false
|
||||||
, gcc
|
, gcc
|
||||||
, threadSupport ? true
|
, threadSupport ? true
|
||||||
|
, useBoehmgc ? false, boehmgc
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
s = # Generated upstream information
|
s = # Generated upstream information
|
||||||
@ -20,6 +21,10 @@ let
|
|||||||
];
|
];
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
libffi gmp mpfr gcc
|
libffi gmp mpfr gcc
|
||||||
|
# replaces ecl's own gc which other packages can depend on, thus propagated
|
||||||
|
] ++ stdenv.lib.optionals useBoehmgc [
|
||||||
|
# replaces ecl's own gc which other packages can depend on, thus propagated
|
||||||
|
boehmgc
|
||||||
];
|
];
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user