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:
@@ -2,15 +2,15 @@
|
||||
|
||||
let
|
||||
srcDir =
|
||||
if stdenv.system == "x86_64-linux" then "linux64"
|
||||
else if stdenv.system == "i686-linux" then "linux"
|
||||
else if stdenv.system == "x86_64-darwin" then "macosx64"
|
||||
if stdenv.hostPlatform.system == "x86_64-linux" then "linux64"
|
||||
else if stdenv.hostPlatform.system == "i686-linux" then "linux"
|
||||
else if stdenv.hostPlatform.system == "x86_64-darwin" then "macosx64"
|
||||
else throwSystem;
|
||||
throwSystem = throw "Unsupported system: ${stdenv.system}";
|
||||
throwSystem = throw "Unsupported system: ${stdenv.hostPlatform.system}";
|
||||
gwnum =
|
||||
if stdenv.system == "x86_64-linux" then "make64"
|
||||
else if stdenv.system == "i686-linux" then "makefile"
|
||||
else if stdenv.system == "x86_64-darwin" then "makemac"
|
||||
if stdenv.hostPlatform.system == "x86_64-linux" then "make64"
|
||||
else if stdenv.hostPlatform.system == "i686-linux" then "makefile"
|
||||
else if stdenv.hostPlatform.system == "x86_64-darwin" then "makemac"
|
||||
else throwSystem;
|
||||
in
|
||||
|
||||
|
||||
Reference in New Issue
Block a user