summary refs log tree commit diff
path: root/pkgs/games/cataclysm-dda/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/games/cataclysm-dda/default.nix')
-rw-r--r--pkgs/games/cataclysm-dda/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/games/cataclysm-dda/default.nix b/pkgs/games/cataclysm-dda/default.nix
index 6ab2b4449b92..550d557e57ef 100644
--- a/pkgs/games/cataclysm-dda/default.nix
+++ b/pkgs/games/cataclysm-dda/default.nix
@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
     "OSX_MIN=10.6"  # SDL for macOS only supports deploying on 10.6 and above
   ];
 
-  postBuild = ''
+  postBuild = stdenv.lib.optionalString stdenv.isDarwin ''
     # iconutil on macOS is not available in nixpkgs
     png2icns data/osx/AppIcon.icns data/osx/AppIcon.iconset/*
   '';