readline 6.3: Don't use stdenv ? cross
This commit is contained in:
parent
a46b063ac1
commit
45272c98f5
1 changed files with 4 additions and 2 deletions
|
@ -1,4 +1,6 @@
|
|||
{ fetchurl, stdenv, ncurses }:
|
||||
{ fetchurl, stdenv, ncurses
|
||||
, buildPlatform, hostPlatform
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "readline-6.3p08";
|
||||
|
@ -29,7 +31,7 @@ stdenv.mkDerivation rec {
|
|||
import ./readline-6.3-patches.nix patch);
|
||||
|
||||
# Don't run the native `strip' when cross-compiling.
|
||||
dontStrip = stdenv ? cross;
|
||||
dontStrip = hostPlatform != buildPlatform;
|
||||
bash_cv_func_sigsetjmp = if stdenv.isCygwin then "missing" else null;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
|
Loading…
Reference in a new issue