reewide: Purge all uses stdenv.system and top-level system

It is deprecated and will be removed after 18.09.
This commit is contained in:
John Ericson
2018-08-20 15:11:29 -04:00
parent 94f71d800d
commit 2c2f1e37d4
263 changed files with 594 additions and 577 deletions

View File

@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
buildInputs = [ zeromq3 jdk ];
preConfigure = ''
${if stdenv.system == "x86_64-darwin" then
${if stdenv.hostPlatform.system == "x86_64-darwin" then
'' sed -i -e 's~/Headers~/include~' -e 's~_JNI_INC_SUBDIRS=\".*\"~_JNI_INC_SUBDIRS=\"darwin\"~' configure
'' else ""}
'';

View File

@@ -16,7 +16,7 @@ let
sha256 = "00k1mfbncvyh8klgmk0891w8jwnd5niqb16j1j8yacrm2smmlb05"; };
};
metadata = assert platformMap ? ${stdenv.system}; platformMap.${stdenv.system};
metadata = assert platformMap ? ${stdenv.hostPlatform.system}; platformMap.${stdenv.hostPlatform.system};
in stdenv.mkDerivation rec {
version = "4.5";