readline 6.3: Don't use stdenv ? cross
This commit is contained in:
parent
a46b063ac1
commit
45272c98f5
@ -1,4 +1,6 @@
|
|||||||
{ fetchurl, stdenv, ncurses }:
|
{ fetchurl, stdenv, ncurses
|
||||||
|
, buildPlatform, hostPlatform
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "readline-6.3p08";
|
name = "readline-6.3p08";
|
||||||
@ -29,7 +31,7 @@ stdenv.mkDerivation rec {
|
|||||||
import ./readline-6.3-patches.nix patch);
|
import ./readline-6.3-patches.nix patch);
|
||||||
|
|
||||||
# Don't run the native `strip' when cross-compiling.
|
# 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;
|
bash_cv_func_sigsetjmp = if stdenv.isCygwin then "missing" else null;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user