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/* '';