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,11 +2,11 @@
|
||||
|
||||
let
|
||||
arch =
|
||||
if stdenv.system == "x86_64-linux" then "bandwidth64"
|
||||
else if stdenv.system == "i686-linux" then "bandwidth32"
|
||||
else if stdenv.system == "x86_64-darwin" then "bandwidth-mac64"
|
||||
else if stdenv.system == "i686-darwin" then "bandwidth-mac32"
|
||||
else if stdenv.system == "i686-cygwin" then "bandwidth-win32"
|
||||
if stdenv.hostPlatform.system == "x86_64-linux" then "bandwidth64"
|
||||
else if stdenv.hostPlatform.system == "i686-linux" then "bandwidth32"
|
||||
else if stdenv.hostPlatform.system == "x86_64-darwin" then "bandwidth-mac64"
|
||||
else if stdenv.hostPlatform.system == "i686-darwin" then "bandwidth-mac32"
|
||||
else if stdenv.hostPlatform.system == "i686-cygwin" then "bandwidth-win32"
|
||||
else throw "Unknown architecture";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
Reference in New Issue
Block a user