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

Support for fetchLFS=true in fetchgit #77

Open
Laurent2916 opened this issue Jun 24, 2023 · 0 comments
Open

Support for fetchLFS=true in fetchgit #77

Laurent2916 opened this issue Jun 24, 2023 · 0 comments

Comments

@Laurent2916
Copy link

Laurent2916 commented Jun 24, 2023

Hi, since fetchFromGitea doesn't seem to be supported, using fetchgit does the job.
Though if the repository uses LFS the returned hash isn't correct.

For example, the following wouldn't be correctly updated by update-nix-fetchgit:

  pages = pkgs.fetchgit {
    url = "https://gitea.mydomain.com/owner/repo";
    fetchLFS = true;
    rev = "_"; # some_branch
    sha256 = "_";  <-- will correspond to the sha256 of the uninitialized LFS repository
  };
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