-
Notifications
You must be signed in to change notification settings - Fork 11
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 flake support #35
Comments
It is, |
I tried using this: nix-prefetch --option extra-experimental-features flakes '{ sha256 }: (builtins.getFlake (toString ./.)).packages.x86_64-linux.node.go-modules.overrideAttrs (_: { vendorSha256 = sha256; })' With the fake in this repo: https://github.com/status-im/go-waku But I get no output. This is what I get with
I have no idea what that means. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently when trying to use
nix-prefetch
with something that requires flakes it will fail, it is testing for flake but only adds--experimental-features nix-command
:https://github.com/msteen/nix-prefetch/blob/master/src/main.sh#L163
I have a flake that provides a packages that is using fixed output hashes (go-modules vendor stuff). I would like to do something like:
This commands will refuse to evaluate due to
flakes
feature not being enabled.Would it make sense to add this, or is it possible to provide extra flags to the nix command via the
nix-prefetch
CLI?The text was updated successfully, but these errors were encountered: