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-30 17:20:32 -04:00
parent 94f71d800d
commit 2c2f1e37d4
263 changed files with 594 additions and 577 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
buildInputs = [ go ];
buildPhase = ''
${stdenv.lib.optionalString (stdenv.system == "armv5tel-linux") "export GOARM=5"}
${stdenv.lib.optionalString (stdenv.hostPlatform.system == "armv5tel-linux") "export GOARM=5"}
mkdir $TMPDIR/go
export GOPATH=$TMPDIR/go