readline 7.0: Don't use stdenv ? cross
This commit is contained in:
parent
45272c98f5
commit
f9730bc8da
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-${version}";
|
||||
|
@ -33,7 +35,7 @@ stdenv.mkDerivation rec {
|
|||
*/
|
||||
|
||||
# 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