LnL7 / nix-darwin

nix modules for darwin
MIT License
2.84k stars 432 forks source link

FR / package request: hammerspoon #844

Open n8henrie opened 9 months ago

n8henrie commented 9 months ago

https://www.hammerspoon.org/ is a great tool, I think it would make a good fit with the nix ecosystem.

I'm happy to work on this, though I don't have much time at the moment.

Qyriad commented 8 months ago

Not a nix-darwin module for configuring it, but I wrote up a quick derivation for Hammerspoon itself as a start. Unfortunately codesigning entitlements in Nix is an unsolved problem (lldb and gdb need to be signed on darwin NixOS/nixpkgs#18420, gdb: Needs codesigning to work on darwin, which clashes with immutability NixOS/nixpkgs#17406), so it downloads pre-built binaries.