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

@@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
version = "0.8.0";
src =
if stdenv.system == "i686-linux" then
if stdenv.hostPlatform.system == "i686-linux" then
fetchurl {
name = "linux32-${version}.tar.gz";
url = "https://clis.ng.bluemix.net/download/bluemix-cli/${version}/linux32";

View File

@@ -32,7 +32,7 @@ in stdenv.mkDerivation rec {
name = "google-cloud-sdk-${version}";
version = "206.0.0";
src = fetchurl (sources name stdenv.system);
src = fetchurl (sources name stdenv.hostPlatform.system);
buildInputs = [ python makeWrapper ];