mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
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
|
||||
];
|
||||
|
||||
postBuild = ''
|
||||
postBuild = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
# iconutil on macOS is not available in nixpkgs
|
||||
png2icns data/osx/AppIcon.icns data/osx/AppIcon.iconset/*
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user