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:
@@ -5,11 +5,11 @@ assert stdenv ? cc && stdenv.cc.libc != null;
|
||||
stdenv.mkDerivation rec {
|
||||
name = "scmccid-5.0.11";
|
||||
|
||||
src = if stdenv.system == "i686-linux" then (fetchurl {
|
||||
src = if stdenv.hostPlatform.system == "i686-linux" then (fetchurl {
|
||||
url = "http://www.scmmicro.com/support/download/scmccid_5.0.11_linux.tar.gz";
|
||||
sha256 = "1r5wkarhzl09ncgj55baizf573czw0nplh1pgddzx9xck66kh5bm";
|
||||
})
|
||||
else if stdenv.system == "x86_64-linux" then (fetchurl {
|
||||
else if stdenv.hostPlatform.system == "x86_64-linux" then (fetchurl {
|
||||
url = "http://www.scmmicro.com/support/download/scmccid_5.0.11_linux_x64.tar.gz";
|
||||
sha256 = "0k9lzlk01sl4ycfqgrqqy3bildz0mcr1r0kkicgjz96l4s0jgz0i";
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user