summary refs log tree commit diff
path: root/pkgs/applications/graphics/gcolor2/default.nix
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2018-08-20 15:11:29 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2018-08-30 17:20:32 -0400
commit2c2f1e37d4374ea61caefd9389927ea03df4ce31 (patch)
tree1c0dff3f6483825a9143741bdddca44f35bb4224 /pkgs/applications/graphics/gcolor2/default.nix
parent94f71d800db2ef7afb9fc8dad9e9aa503bfa2941 (diff)
downloadnixlib-2c2f1e37d4374ea61caefd9389927ea03df4ce31.tar
nixlib-2c2f1e37d4374ea61caefd9389927ea03df4ce31.tar.gz
nixlib-2c2f1e37d4374ea61caefd9389927ea03df4ce31.tar.bz2
nixlib-2c2f1e37d4374ea61caefd9389927ea03df4ce31.tar.lz
nixlib-2c2f1e37d4374ea61caefd9389927ea03df4ce31.tar.xz
nixlib-2c2f1e37d4374ea61caefd9389927ea03df4ce31.tar.zst
nixlib-2c2f1e37d4374ea61caefd9389927ea03df4ce31.zip
reewide: Purge all uses `stdenv.system` and top-level `system`
It is deprecated and will be removed after 18.09.
Diffstat (limited to 'pkgs/applications/graphics/gcolor2/default.nix')
-rw-r--r--pkgs/applications/graphics/gcolor2/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/graphics/gcolor2/default.nix b/pkgs/applications/graphics/gcolor2/default.nix
index 3747b802e231..27ca6e26e9f9 100644
--- a/pkgs/applications/graphics/gcolor2/default.nix
+++ b/pkgs/applications/graphics/gcolor2/default.nix
@@ -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
         [ ];