From cf8cd83effe519c0bfc121cd4e3b62dc60cad3fa Mon Sep 17 00:00:00 2001 From: Mitsuhiro Nakamura Date: Mon, 22 Jan 2018 23:06:35 +0900 Subject: [PATCH] cataclysm-dda: build the icon only on Darwin --- pkgs/games/cataclysm-dda/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/* '';