diff options
author | hsloan <ishaqsloan@gmail.com> | 2017-06-28 16:25:05 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2017-06-28 19:41:56 -0400 |
commit | a46b063ac1038be9e52b97714d7a1a090d53545f (patch) | |
tree | 4b8eec43e0db51d2ac7d992e4a2bf5ccca8eefe5 /pkgs/development/libraries/readline/6.2.nix | |
parent | d28eb3b7a04dc7b057e3f0ee77cc7e07cfc7cf61 (diff) | |
download | nixpkgs-a46b063ac1038be9e52b97714d7a1a090d53545f.tar nixpkgs-a46b063ac1038be9e52b97714d7a1a090d53545f.tar.gz nixpkgs-a46b063ac1038be9e52b97714d7a1a090d53545f.tar.bz2 nixpkgs-a46b063ac1038be9e52b97714d7a1a090d53545f.tar.lz nixpkgs-a46b063ac1038be9e52b97714d7a1a090d53545f.tar.xz nixpkgs-a46b063ac1038be9e52b97714d7a1a090d53545f.tar.zst nixpkgs-a46b063ac1038be9e52b97714d7a1a090d53545f.zip |
readline 6.2: Don't use stdenv ? cross
Diffstat (limited to 'pkgs/development/libraries/readline/6.2.nix')
-rw-r--r-- | pkgs/development/libraries/readline/6.2.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/development/libraries/readline/6.2.nix b/pkgs/development/libraries/readline/6.2.nix index 65ab4ed24ce..2c800e23b27 100644 --- a/pkgs/development/libraries/readline/6.2.nix +++ b/pkgs/development/libraries/readline/6.2.nix @@ -1,4 +1,6 @@ -{ fetchurl, stdenv, ncurses }: +{ fetchurl, stdenv, ncurses +, buildPlatform, hostPlatform +}: stdenv.mkDerivation (rec { name = "readline-6.2"; @@ -57,6 +59,6 @@ stdenv.mkDerivation (rec { // # Don't run the native `strip' when cross-compiling. -(if (stdenv ? cross) +(if hostPlatform != buildPlatform then { dontStrip = true; } else { })) |