Open walseb opened 3 months ago
Looks like install
is called on the addon id: https://gitlab.com/rycee/nur-expressions/-/blob/master/pkgs/firefox-addons/default.nix#L23 I probably got it wrong.
Actually, I see now that the error is regarding the emacs package in this repo. The Firefox addon is building fine. I built the Emacs package like this:
(emacsPackages.trivialBuild {
pname = "spookfox";
version = "unstable-2024-04-25";
src = fetchFromGitHub {
owner = "bitspook";
repo = "spookfox";
sha256 = "1sjx8cvms0ykngicsbw75ngcgpip36pvzxp5xpwys2836g0i5w23";
rev = "ee4f23f022db70e8ad3b057140c75a17a3df6dab";
};
})
Probably the trivial build is not picking up the elisp files because of the unusual directory structure.
Hello @walseb,
I've had it in back of my head (and in my TODOs.org) to package this project for nix+guix, but hasn't been able to find time for it yet. Thank you for initiating this! ❤️
I've used nix pretty much as a user, but never to package anything. I'll try reading up on emacsPackages.trivialBuild
and see if I can help!
No problem!
To be clear, once this package is up on Firefox add-ons and melpa, the nix recipes should be automatically generated and updated, but until then they need to be built manually like this.
The Firefox add-on will need to be added to the list here for them to be generated with Rycee's firefox add-ons overlay: https://gitlab.com/rycee/nur-expressions/-/blob/master/pkgs/firefox-addons/addons.json
But once on melpa, the emacs package should be added to nixpkgs automatically.
Hello!
I'm trying to install this addon for Firefox with the
buildFirefoxXpiAddon
build command:however, I get the following error:
Thoughts?