From 8e2e4216ba09cc0412c9f3d1a1b8076e77827be8 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 18 Sep 2014 12:16:12 +0200 Subject: [PATCH] boehm-gc: Support --enable-large-config --- pkgs/development/libraries/boehm-gc/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/boehm-gc/default.nix b/pkgs/development/libraries/boehm-gc/default.nix index cc047da2758c..68b1fb1c9ba4 100644 --- a/pkgs/development/libraries/boehm-gc/default.nix +++ b/pkgs/development/libraries/boehm-gc/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl }: +{ lib, stdenv, fetchurl, enableLargeConfig ? false }: stdenv.mkDerivation rec { name = "boehm-gc-7.2f"; @@ -8,7 +8,9 @@ stdenv.mkDerivation rec { sha256 = "119x7p1cqw40mpwj80xfq879l9m1dkc7vbc1f3bz3kvkf8bf6p16"; }; - configureFlags = "--enable-cplusplus"; + configureFlags = + [ "--enable-cplusplus" ] + ++ lib.optional enableLargeConfig "--enable-large-config"; doCheck = true;