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

Add 'nix store prefetch-{file,tarball}' #4434

Merged
merged 1 commit into from Jan 7, 2021
Merged

Add 'nix store prefetch-{file,tarball}' #4434

merged 1 commit into from Jan 7, 2021

Conversation

edolstra
Copy link
Member

@edolstra edolstra commented Jan 7, 2021

These replace nix-prefetch-url and nix-prefetch-url --unpack, respectively.

These replace nix-prefetch-url and nix-prefetch-url --unpack,
respectively.
@edolstra edolstra merged commit 920e6a6 into master Jan 7, 2021
@edolstra edolstra deleted the nix-prefetch branch January 7, 2021 21:22
@bjornfor
Copy link
Contributor

bjornfor commented Jan 8, 2021

I always thought "archive" would be a better name than "tarball" in this context, given that it's meant to work on zip files too. Thoughts?

@edolstra
Copy link
Member Author

edolstra commented Jan 8, 2021

Yes, or "tree", to make it consistent with fetchTree.

@edolstra
Copy link
Member Author

edolstra commented Jan 8, 2021

... which makes me realize it should just take a flake ref as argument (so it could be used to fetch stuff like Git repos).

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

Successfully merging this pull request may close these issues.

None yet

2 participants