diff options
author | Ludovic Courtès <ludo@gnu.org> | 2011-07-01 13:20:12 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2011-07-01 13:20:12 +0000 |
commit | 7762934904d6d994bdd70adce6e15398eccf6878 (patch) | |
tree | 667651c9b45f42fc02d469c21e12d9d8a32ba151 /pkgs/development/libraries/readline/readline6.nix | |
parent | 3a8af0ddf71b7f36c77ce6768161139eb8487e48 (diff) | |
download | nixpkgs-7762934904d6d994bdd70adce6e15398eccf6878.tar nixpkgs-7762934904d6d994bdd70adce6e15398eccf6878.tar.gz nixpkgs-7762934904d6d994bdd70adce6e15398eccf6878.tar.bz2 nixpkgs-7762934904d6d994bdd70adce6e15398eccf6878.tar.lz nixpkgs-7762934904d6d994bdd70adce6e15398eccf6878.tar.xz nixpkgs-7762934904d6d994bdd70adce6e15398eccf6878.tar.zst nixpkgs-7762934904d6d994bdd70adce6e15398eccf6878.zip |
BDW-GC, GMP, libffi, libunistring, Readline: Don't use the native `strip'.
Using the native `strip' breaks static libraries when cross-compiling. svn path=/nixpkgs/trunk/; revision=27572
Diffstat (limited to 'pkgs/development/libraries/readline/readline6.nix')
-rw-r--r-- | pkgs/development/libraries/readline/readline6.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/development/libraries/readline/readline6.nix b/pkgs/development/libraries/readline/readline6.nix index 18118abedd9..1bd88069127 100644 --- a/pkgs/development/libraries/readline/readline6.nix +++ b/pkgs/development/libraries/readline/readline6.nix @@ -1,6 +1,6 @@ { fetchurl, stdenv, ncurses }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (rec { name = "readline-6.1"; src = fetchurl { @@ -48,3 +48,10 @@ stdenv.mkDerivation rec { maintainers = [ stdenv.lib.maintainers.ludo ]; }; } + +// + +# Don't run the native `strip' when cross-compiling. +(if (stdenv ? cross) + then { dontStrip = true; } + else { })) |