New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
git-ssb: add build dependency #49473
Conversation
Ouch..! I had this commit laying around as well.... thank you! |
A problem with git-ssb is that the more recent versions are only available through ssb-npm. integrating a second registry into the global nodePackages seems messy... I’d be keen to work on a nixos ssb channel if there is more interest. |
Alternatively a copy of the nodePackages approach to a another directory seems possible but than the hydra would have to have access to ssb-npm? I guess that’s out of the question... |
@cryptix yeah, the git-ssb issue had occurred to me. Naively I thought that what we want is a git fetcher for nix that supports the ssb protocol, which itself would need to be built on top of git-ssb. I'm also interested in how we should package scuttlebot modules. The current situation isn't ideal, since if the version of For reference, the implementation details for the built-in fetchers can be found here. Looks like implementing a fetcher for git-ssb shouldn't be too complicated. Ultimately, it would also be nice to have a fetcher for the dat protocol. It looks like there's already a fetcher for ipfs, although I haven't tried it. EDIT: Nevermind, after reading up on ssb-npm, I see what the issue is. It's going to be a real pain integrating this into the nix infrastructure. |
@GrahamcOfBorg build nodePackages.git-ssb |
Failure on aarch64-linux (full log) Attempted: nodePackages.git-ssb Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: nodePackages.git-ssb Partial log (click to expand)
|
yup. That is why I think a second channel / git tree that’s imports would be the most sensible. People could use the generate.sh to clone their own or trust a published version through a channel. |
Motivation for this change
nodePackages.git-ssb
currently fails to build because of a missing build dependency, cc @cryptix.Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)