about summary refs log tree commit diff
path: root/pkgs/build-support/make-darwin-bundle
AgeCommit message (Collapse)AuthorFilesLines
2022-04-22Merge pull request #165111 from toonn/darwin-bundle-outputBinLassulus1-4/+4
make-darwin-bundle: Use output bin
2022-03-21make-darwin-bundle: Prefer long lines to splittingtoonn1-4/+2
2022-03-21make-darwin-bundle: Escape outputBin for Nix '' stringtoonn1-4/+6
2022-03-21write-darwin-bundle: Invert squircle logictoonn1-5/+3
Older macOS cannot interpret the `CFBundleIconFiles` key so we cannot rewrite the `CFBundleIconFile` entry without special consideration. I opted to fix this by inverting the squircle logic. We always add both the `CFBundleIconFile` and `CFBundleIconFiles` keys. The former is necessary for at least macOS 10.13 and probably 10.12. The latter seems to be ignored on those versions and overrides the former on newer versions of macOS. Inverting the logic also allows us to rely on the `toPlist` generator to generate the XML syntax, which is a nice bonus.
2022-03-21make-darwin-bundle: Use actual bin outputtoonn1-4/+4
The script and the hook assume `/bin` is in `$out` but that's not always true for a multi-output derivation.
2022-02-23desktopToDarwinBundle: fix squircle iconsRandy Eckenrode1-14/+15
- Convert icons to a single .icns file; and - Provide an opt-out via X-macOS-Squircle in the desktop item to override the squircle behavior when the source icons look bad when converted automatically.
2022-02-10build-support: make-darwin-bundle: newMatthew Leach2-0/+66
Add a new module that allows darwin-style application bundles to be created