treewide: Remove usage of remaining redundant platform compatability stuff
Want to get this out of here for 18.09, so it can be deprecated thereafter.
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
{ fetchurl, stdenv, ncurses
|
||||
, buildPlatform, hostPlatform
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (rec {
|
||||
@@ -59,6 +58,6 @@ stdenv.mkDerivation (rec {
|
||||
//
|
||||
|
||||
# Don't run the native `strip' when cross-compiling.
|
||||
(if hostPlatform != buildPlatform
|
||||
(if stdenv.hostPlatform != stdenv.buildPlatform
|
||||
then { dontStrip = true; }
|
||||
else { }))
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
{ fetchurl, stdenv, ncurses
|
||||
, buildPlatform, hostPlatform
|
||||
}:
|
||||
{ fetchurl, stdenv, ncurses }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "readline-6.3p08";
|
||||
@@ -37,7 +35,7 @@ stdenv.mkDerivation rec {
|
||||
import ./readline-6.3-patches.nix patch);
|
||||
|
||||
# Don't run the native `strip' when cross-compiling.
|
||||
dontStrip = hostPlatform != buildPlatform;
|
||||
dontStrip = stdenv.hostPlatform != stdenv.buildPlatform;
|
||||
bash_cv_func_sigsetjmp = if stdenv.isCygwin then "missing" else null;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
{ fetchurl, stdenv, ncurses
|
||||
, buildPlatform, hostPlatform
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -34,7 +33,7 @@ stdenv.mkDerivation rec {
|
||||
++ upstreamPatches;
|
||||
|
||||
# Don't run the native `strip' when cross-compiling.
|
||||
dontStrip = hostPlatform != buildPlatform;
|
||||
dontStrip = stdenv.hostPlatform != stdenv.buildPlatform;
|
||||
bash_cv_func_sigsetjmp = if stdenv.isCygwin then "missing" else null;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
||||
Reference in New Issue
Block a user