-
-
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
Flakes: provide robust access to outPath
through new meta
argument.
#8908
base: master
Are you sure you want to change the base?
Flakes: provide robust access to outPath
through new meta
argument.
#8908
Commits on Sep 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for dfe4fa9 - Browse repository at this point
Copy the full SHA dfe4fa9View commit details
Commits on Sep 4, 2023
-
flakes: Add robust meta argument to outputs arguments
This way, flake frameworks have access to the flake location even when an error causes `self` not to evaluate.
Configuration menu - View commit details
-
Copy full SHA for 2d235db - Browse repository at this point
Copy the full SHA 2d235dbView commit details -
flakes: Reserve input names
self
andmeta
... and do not add `meta` to the lock when formal is present, like we do for `self`.
Configuration menu - View commit details
-
Copy full SHA for d10bc47 - Browse repository at this point
Copy the full SHA d10bc47View commit details -
libexpr: Add more builtins.function* reflection primops
These are relevant for determining compatibility properties of functions. - Can I add an attribute? Is it open for extension? - If I omit an attribute that I'd be expected to add, does that lead to a conflict? Such a conflict arises when the function is closed and also binds all attributes using `@` syntax. It also answers a related question: is the function defined using the strict syntax? This is useful for explaining the misconception that changing a plain lambda to a strict lambda is a no-op refactor. The fact that it makes the function strict is overlooked and the error message, infinite recursion sends users into panic mode. With the new functionStrict primop we can write functions that catch the mistake before we enter it, which could be very helpful.
Configuration menu - View commit details
-
Copy full SHA for 4e3890d - Browse repository at this point
Copy the full SHA 4e3890dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e9e1897 - Browse repository at this point
Copy the full SHA e9e1897View commit details -
tests: Rename outputs arguments to args instead of inputs
Inputs is not quite an appropriate name because of `self` and `meta`, which aren't inputs.
Configuration menu - View commit details
-
Copy full SHA for 2cf4b75 - Browse repository at this point
Copy the full SHA 2cf4b75View commit details -
rl-next: Two functions -> A pair of functions
This doesn't suggest that two is the total count, and I think it's a nice way to phrase it, because the functions are related.
Configuration menu - View commit details
-
Copy full SHA for ab6dbf3 - Browse repository at this point
Copy the full SHA ab6dbf3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f739ff - Browse repository at this point
Copy the full SHA 1f739ffView commit details -
flakes: Don't warn about meta and ellipsis except for root flake
... and fix an incorrect use of `grep -v`
Configuration menu - View commit details
-
Copy full SHA for 72675eb - Browse repository at this point
Copy the full SHA 72675ebView commit details