cataclysm-dda: build the icon only on Darwin
This commit is contained in:
parent
d77ce49c75
commit
cf8cd83eff
@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
|
|||||||
"OSX_MIN=10.6" # SDL for macOS only supports deploying on 10.6 and above
|
"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
|
# iconutil on macOS is not available in nixpkgs
|
||||||
png2icns data/osx/AppIcon.icns data/osx/AppIcon.iconset/*
|
png2icns data/osx/AppIcon.icns data/osx/AppIcon.iconset/*
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user