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,10 +6,10 @@ stdenv.mkDerivation rec {
|
||||
name = "iceSL-${version}";
|
||||
version = "2.1.10";
|
||||
|
||||
src = if stdenv.system == "x86_64-linux" then fetchzip {
|
||||
src = if stdenv.hostPlatform.system == "x86_64-linux" then fetchzip {
|
||||
url = "https://gforge.inria.fr/frs/download.php/file/37268/icesl${version}-amd64.zip";
|
||||
sha256 = "0dv3mq6wy46xk9blzzmgbdxpsjdaxid3zadfrysxlhmgl7zb2cn2";
|
||||
} else if stdenv.system == "i686-linux" then fetchzip {
|
||||
} else if stdenv.hostPlatform.system == "i686-linux" then fetchzip {
|
||||
url = "https://gforge.inria.fr/frs/download.php/file/37267/icesl${version}-i386.zip";
|
||||
sha256 = "0sl54fsb2gz6dy0bwdscpdq1ab6ph5b7zald3bwzgkqsvna7p1jr";
|
||||
} else throw "Unsupported architecture";
|
||||
|
||||
Reference in New Issue
Block a user