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:
@@ -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 ""}
|
||||
'';
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user