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,7 +3,7 @@
|
||||
let version = "0.4"; in
|
||||
stdenv.mkDerivation {
|
||||
name = "gcolor2-${version}";
|
||||
arch = if stdenv.system == "x86_64-linux" then "amd64" else "386";
|
||||
arch = if stdenv.hostPlatform.system == "x86_64-linux" then "amd64" else "386";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/project/gcolor2/gcolor2/${version}/gcolor2-${version}.tar.bz2";
|
||||
@@ -16,7 +16,7 @@ stdenv.mkDerivation {
|
||||
'';
|
||||
|
||||
# from https://github.com/PhantomX/slackbuilds/tree/master/gcolor2/patches
|
||||
patches = if stdenv.system == "x86_64-linux" then
|
||||
patches = if stdenv.hostPlatform.system == "x86_64-linux" then
|
||||
[ ./gcolor2-amd64.patch ] else
|
||||
[ ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user