Hi there. I’m on NixOS, trying to add GitHub - jb55/imap-notify: Simple script that connects to an IMAP server and runs a command when mail arrives to my systemPackages
. I could quickly cook up a derivation that fetches the sources etc… but that repo has a default.nix
expression, which I’d like to use and I have the feeling there’s a convenient way of doing so. Something analogous to callPackage https://...
. Any tips?
Ah yes. callPackage (fetchFromGitHub { ... }) {}
does the trick. I had forgotten the {}
at the end previously. Thanks