Skip to content
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

Fetching a Private repository/dependency #329

Open
trayanr opened this issue Jun 20, 2024 · 0 comments
Open

Fetching a Private repository/dependency #329

trayanr opened this issue Jun 20, 2024 · 0 comments

Comments

@trayanr
Copy link

trayanr commented Jun 20, 2024

Hello,
I tried to add nodeEnv.shell to my devShell, but couldn't. The reason for that is that pkgs.fetchgitPrivate is missing as an attribute. From what I gathered this is a function that existed before, but not any more (as of 24.05). Omitting the --use-fetchgit-private doesn't work, because I am using a private dependency and the nodeEnv can't find it, when I am using just fetchgit.
node2nix does work and it generates the 3 .nix files, I just needed to change the url from github:/{reponame} to git+ssh://github.com/{reponame} to get it to use my ssh credentials, and not http authentication.
Is there something I am missing? Does the function really not exist? Is there an alternative or is there a way to create my own function fetchgitPrivate that uses my ssh credentials, so that I can add it with an overlay?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant