git.iko.soy/typeable/nixpkgs
on master help sign in
cataclysm-dda: build the icon only on Darwin
commitcf8cd83effe519c0bfc121cd4e3b62dc60cad3fa authorMitsuhiro Nakamura <m.nacamura@gmail.com> dateMon 22 Jan 2018, 23:06 (9 years ago) parentd77ce49
1 file changed+1−1
pkgs/games/cataclysm-dda/default.nix+1−1
pkgs/games/cataclysm-dda/default.nix+1−1
@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
3737 "OSX_MIN=10.6" # SDL for macOS only supports deploying on 10.6 and above
3838 ];
3939
40− postBuild = ''
40+ postBuild = stdenv.lib.optionalString stdenv.isDarwin ''
4141 # iconutil on macOS is not available in nixpkgs
4242 png2icns data/osx/AppIcon.icns data/osx/AppIcon.iconset/*
4343 '';