summary refs log tree commit diff
path: root/pkgs/development/compilers/ecl/16.1.2.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/compilers/ecl/16.1.2.nix')
-rw-r--r--pkgs/development/compilers/ecl/16.1.2.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/development/compilers/ecl/16.1.2.nix b/pkgs/development/compilers/ecl/16.1.2.nix
index b324ec490f1a..291b0ed013d6 100644
--- a/pkgs/development/compilers/ecl/16.1.2.nix
+++ b/pkgs/development/compilers/ecl/16.1.2.nix
@@ -4,7 +4,11 @@
 , noUnicode ? false
 , gcc
 , threadSupport ? false
+, useBoehmgc ? true, boehmgc
 }:
+
+assert useBoehmgc -> boehmgc != null;
+
 let
   s = # Generated upstream information
   rec {
@@ -19,6 +23,9 @@ let
   ];
   propagatedBuildInputs = [
     libffi gmp mpfr gcc
+  ] ++ stdenv.lib.optionals useBoehmgc [
+    # replaces ecl's own gc which other packages can depend on, thus propagated
+    boehmgc
   ];
 in
 stdenv.mkDerivation {