readline 6.2: Don't use stdenv ? cross
This commit is contained in:
parent
d28eb3b7a0
commit
a46b063ac1
@ -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 { }))
|
||||
|
Loading…
Reference in New Issue
Block a user