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:
@@ -10,8 +10,8 @@ assert kernel != null -> stdenv.lib.versionOlder kernel.version "4.15";
|
||||
|
||||
let xorgFullVer = (builtins.parseDrvName xorg.xorgserver.name).version;
|
||||
xorgVer = lib.concatStringsSep "." (lib.take 2 (lib.splitString "." xorgFullVer));
|
||||
x64 = if stdenv.system == "x86_64-linux" then true
|
||||
else if stdenv.system == "i686-linux" then false
|
||||
x64 = if stdenv.hostPlatform.system == "x86_64-linux" then true
|
||||
else if stdenv.hostPlatform.system == "i686-linux" then false
|
||||
else throw "Parallels Tools for Linux only support {x86-64,i686}-linux targets";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
Reference in New Issue
Block a user