ecl: Use boehmgc

This commit is contained in:
Timo Kaufmann 2018-04-24 00:25:22 +02:00
parent 7c3501724a
commit 63b8275709
2 changed files with 12 additions and 0 deletions

View File

@ -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 {

View File

@ -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 {