-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Document <nix/fetchurl.nix> #3493
Comments
No, they shouldn't be documented because they're internal. But |
Sounds good for me, since that is supposed to be the user-facing API. |
Duplicate of #1489 then |
It's not really a duplicate of #1489, which is about the |
I marked this as stale due to inactivity. → More info |
Still relevant. |
I marked this as stale due to inactivity. → More info |
Can we make the builtin builders user-facing? We actually used Especially in airgapped situations this can be extremely helpful since the fetchers do not (yet) try substitutes. |
👍 on documenting |
sweet! My only nit with that is that |
The builder of a derivation accepts a few builtin builders as described here:
nix/src/libstore/build.cc
Line 3497 in 512753f
These should be documented somewhere and how they differ from some builtin functions. From my understanding
builtins.fetchurl
fetches during instantiation time but a derivation usingbuiltins:fetchurl
asbuilder
downloads when actually realizing the derivation.The text was updated successfully, but these errors were encountered: