From 8ba82f28bc00722d211b3c2990bd71d195d65386 Mon Sep 17 00:00:00 2001 From: Russell O'Connor Date: Tue, 31 Jan 2017 19:03:12 -0500 Subject: [PATCH] compcert: adding clightgen to the build clightgen is a tool for coverting C to C-light. This patch enable the build of this tool which is added to $out/bin/. --- pkgs/development/compilers/compcert/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/compilers/compcert/default.nix b/pkgs/development/compilers/compcert/default.nix index f5554ee0ce3..20d4a430ac4 100644 --- a/pkgs/development/compilers/compcert/default.nix +++ b/pkgs/development/compilers/compcert/default.nix @@ -21,7 +21,7 @@ stdenv.mkDerivation rec { configurePhase = '' substituteInPlace ./configure --replace pl2 pl3 substituteInPlace ./configure --replace '{toolprefix}gcc' '{toolprefix}cc' - ./configure -prefix $out -toolprefix ${tools}/bin/ '' + + ./configure -clightgen -prefix $out -toolprefix ${tools}/bin/ '' + (if stdenv.isDarwin then "ia32-macosx" else "ia32-linux"); installTargets = "documentation install";