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:
@@ -3,8 +3,8 @@
|
||||
|
||||
let
|
||||
arch =
|
||||
if stdenv.system == "x86_64-linux" then "x64"
|
||||
else if stdenv.system == "i686-linux" then "x86"
|
||||
if stdenv.hostPlatform.system == "x86_64-linux" then "x64"
|
||||
else if stdenv.hostPlatform.system == "i686-linux" then "x86"
|
||||
else throw "Unsupported architecture";
|
||||
bins = "${arch}-ubuntu-1604";
|
||||
libPath = lib.makeLibraryPath [ stdenv.cc.cc utillinux libusb1 evdi ];
|
||||
|
||||
Reference in New Issue
Block a user