You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is my first time using node2nix, sorry if I am missing something silly.
I am trying to package Shinobi CCTV, and have successfully invoked node2nix to generate the relevant nix files. I then include them in my new derivation in the normal way, and then try to get the package to build.
There was a ton of new dependencies to build, and a big chunk of them built fine. But one fails reliably:
# nix-build /nix/store/ad2rizzv3l02f55nn1g8l6wj51q4k1vi-onvif-9742ea1.drv
this derivation will be built:
/nix/store/ad2rizzv3l02f55nn1g8l6wj51q4k1vi-onvif-9742ea1.drv
building '/nix/store/ad2rizzv3l02f55nn1g8l6wj51q4k1vi-onvif-9742ea1.drv'...
exporting ssh://git@github.com/agsh/onvif.git (rev 9742ea117b2d19eb31deb54cfb9e2b98f21f9d1f) into /nix/store/shwh7c2i0gnv1fmhfjmmxs2i3yzn9nbs-onvif-9742ea1
Initialized empty Git repository in /nix/store/shwh7c2i0gnv1fmhfjmmxs2i3yzn9nbs-onvif-9742ea1/.git/
error: cannot run ssh: No such file or directory
fatal: unable to fork
error: cannot run ssh: No such file or directory
fatal: unable to fork
error: cannot run ssh: No such file or directory
fatal: unable to fork
Unable to checkout 9742ea117b2d19eb31deb54cfb9e2b98f21f9d1f from ssh://git@github.com/agsh/onvif.git.
error: builder for '/nix/store/ad2rizzv3l02f55nn1g8l6wj51q4k1vi-onvif-9742ea1.drv' failed with exit code 1
I have no idea why this might be failing to find ssh? Is this an obvious error on my part?
The relevant snippet of my node-packages.nix for this dep is:
I was seeing this issue too. I tried manually replacing instances of fetchgit with builtins.fetchGit in node-packages.nix (and removing the sha256, since builtins.fetchGit doesn't have that attribute) and that worked for me.
It's not great to have that as a manual step, this might be another reason to merge #298.
This is my first time using
node2nix
, sorry if I am missing something silly.I am trying to package Shinobi CCTV, and have successfully invoked
node2nix
to generate the relevant nix files. I then include them in my new derivation in the normal way, and then try to get the package to build.There was a ton of new dependencies to build, and a big chunk of them built fine. But one fails reliably:
I have no idea why this might be failing to find ssh? Is this an obvious error on my part?
The relevant snippet of my
node-packages.nix
for this dep is:and it's referenced later in that file with:
I do note that this is the only dep in the entire file using
fetchgit
and notfetchurl
. Something?The text was updated successfully, but these errors were encountered: