about summary refs log tree commit diff
path: root/pkgs/development/libraries/gmp
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2015-10-28 11:34:02 +0100
committerVladimír Čunát <vcunat@gmail.com>2015-10-28 11:34:45 +0100
commit40a973f9623ffe75b103212d18412fd2e4ce83db (patch)
tree0117ffbc7b447fe3b52a58e22bb8ccf9cc2cf0a4 /pkgs/development/libraries/gmp
parent5f43846d238b726cde23b140b6a640f082c80868 (diff)
gmp: split dev and info outputs, and disable static
Referrers should have been fixed in previous commits already.
Diffstat (limited to 'pkgs/development/libraries/gmp')
-rw-r--r--pkgs/development/libraries/gmp/6.x.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/development/libraries/gmp/6.x.nix b/pkgs/development/libraries/gmp/6.x.nix
index 1fc869e01074a..bcb5ebbc141b5 100644
--- a/pkgs/development/libraries/gmp/6.x.nix
+++ b/pkgs/development/libraries/gmp/6.x.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, m4, cxx ? true, withStatic ? true }:
+{ stdenv, fetchurl, m4, cxx ? true, withStatic ? false }:
 
 with { inherit (stdenv.lib) optional optionalString; };
 
@@ -10,7 +10,12 @@ let self = stdenv.mkDerivation rec {
     sha256 = "1bwsfmf0vrx3rwl4xmi5jhhy3v1qx1xj0m7p9hb0fvcw9f09m3kz";
   };
 
+  #outputs TODO: split $cxx due to libstdc++ dependency; maybe port to gmp5;
+  # maybe let ghc use a version with *.so shared with rest of nixpkgs and *.a added
+  # - see #5855 for related discussion
+  outputs = [ "dev" "out" "info" ];
   passthru.static = self.out;
+
   nativeBuildInputs = [ m4 ];
 
   configureFlags =