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:
@@ -6,9 +6,9 @@
|
||||
|
||||
let
|
||||
platform =
|
||||
if stdenv.system == "x86_64-linux" then "64bit"
|
||||
else if stdenv.system == "i686-linux" then "32bit"
|
||||
else throw "Unsupported system: ${stdenv.system}";
|
||||
if stdenv.hostPlatform.system == "x86_64-linux" then "64bit"
|
||||
else if stdenv.hostPlatform.system == "i686-linux" then "32bit"
|
||||
else throw "Unsupported system: ${stdenv.hostPlatform.system}";
|
||||
debPlatform =
|
||||
if platform == "64bit" then "amd64"
|
||||
else "i386";
|
||||
|
||||
Reference in New Issue
Block a user