Skip to content

Fetching a Private repository/dependency #329

Description

@trayanr

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions