about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/libcutl
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/libcutl')
-rw-r--r--nixpkgs/pkgs/development/libraries/libcutl/default.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/nixpkgs/pkgs/development/libraries/libcutl/default.nix b/nixpkgs/pkgs/development/libraries/libcutl/default.nix
index dca7a6148f22..db04b5f59b5c 100644
--- a/nixpkgs/pkgs/development/libraries/libcutl/default.nix
+++ b/nixpkgs/pkgs/development/libraries/libcutl/default.nix
@@ -1,5 +1,8 @@
-{ lib, stdenv, fetchurl, xercesc }:
+{ lib, gccStdenv, fetchurl, xercesc }:
 
+let
+  stdenv = gccStdenv;
+in
 stdenv.mkDerivation rec {
   pname = "libcutl";
   version = "1.10.0";
@@ -14,7 +17,6 @@ stdenv.mkDerivation rec {
     homepage = "https://codesynthesis.com/projects/libcutl/";
     changelog = "https://git.codesynthesis.com/cgit/libcutl/libcutl/plain/NEWS?h=${version}";
     platforms = platforms.all;
-    broken = stdenv.isDarwin;
     maintainers = with maintainers; [ ];
     license = licenses.mit;
   };
@@ -28,5 +30,5 @@ stdenv.mkDerivation rec {
   buildInputs = [ xercesc ];
   enableParallelBuilding = true;
 
-  NIX_CFLAGS_COMPILE = [ "-std=c++14" ];
+  env.NIX_CFLAGS_COMPILE = toString [ "-std=c++14" ];
 }