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,13 +5,13 @@
|
||||
}:
|
||||
|
||||
let
|
||||
arch = if stdenv.system == "x86_64-linux" then "amd"
|
||||
else if stdenv.system == "i686-linux" then "i386"
|
||||
else throw "Encryptr for ${stdenv.system} not supported!";
|
||||
arch = if stdenv.hostPlatform.system == "x86_64-linux" then "amd"
|
||||
else if stdenv.hostPlatform.system == "i686-linux" then "i386"
|
||||
else throw "Encryptr for ${stdenv.hostPlatform.system} not supported!";
|
||||
|
||||
sha256 = if stdenv.system == "x86_64-linux" then "1j3g467g7ar86hpnh6q9mf7mh2h4ia94mwhk1283zh739s2g53q2"
|
||||
else if stdenv.system == "i686-linux" then "02j9hg9b1jlv25q1sjfhv8d46mii33f94dj0ccn83z9z18q4y2cm"
|
||||
else throw "Encryptr for ${stdenv.system} not supported!";
|
||||
sha256 = if stdenv.hostPlatform.system == "x86_64-linux" then "1j3g467g7ar86hpnh6q9mf7mh2h4ia94mwhk1283zh739s2g53q2"
|
||||
else if stdenv.hostPlatform.system == "i686-linux" then "02j9hg9b1jlv25q1sjfhv8d46mii33f94dj0ccn83z9z18q4y2cm"
|
||||
else throw "Encryptr for ${stdenv.hostPlatform.system} not supported!";
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "encryptr-${version}";
|
||||
|
||||
Reference in New Issue
Block a user