-
-
Notifications
You must be signed in to change notification settings - Fork 158
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
[RFC 0110] Add "inherit-as-list" syntax construct to the Nix language #110
Draft
r-burns
wants to merge
14
commits into
NixOS:master
Choose a base branch
from
r-burns:rfc-inherit-as-list
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Commits on Oct 18, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 1cbffdb - Browse repository at this point
Copy the full SHA 1cbffdbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7886f94 - Browse repository at this point
Copy the full SHA 7886f94View commit details -
Configuration menu - View commit details
-
Copy full SHA for de1c4d2 - Browse repository at this point
Copy the full SHA de1c4d2View commit details
Commits on Oct 19, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 1d1ffeb - Browse repository at this point
Copy the full SHA 1d1ffebView commit details -
Remove Nix syntax highlighting from proposed syntax snippets
They are highlighted incorrectly as they are not currently valid Nix code
Configuration menu - View commit details
-
Copy full SHA for 2a6bbb4 - Browse repository at this point
Copy the full SHA 2a6bbb4View commit details
Commits on Oct 20, 2021
-
Before: ``` [ inherit (attrs) a b c; ] := builtins.attrValues { inherit (attrs) a b c; } ``` After: ``` [ inherit (attrs) a b c; ] := [ attrs.a attrs.b attrs.c ]; ``` The previous desugaring has some potentially nice properties such as non-significant ordering and no-duplicate enforcement, but was ultimately deemed unintuitive and too surprising in practical use.
Configuration menu - View commit details
-
Copy full SHA for ad09702 - Browse repository at this point
Copy the full SHA ad09702View commit details
Commits on Jan 12, 2022
-
Co-authored-by: Jörg Thalheim <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 75cd80e - Browse repository at this point
Copy the full SHA 75cd80eView commit details
Commits on Jul 6, 2022
-
Co-authored-by: Kevin Cox <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 63ea2a1 - Browse repository at this point
Copy the full SHA 63ea2a1View commit details
Commits on Jul 31, 2022
-
Revise to list-like syntax proposed by Synthetica9
The new syntax is ``` attrs.[ a b c ] ``` as sugar for ``` [ attrs.a attrs.b attrs.c ] ```
Configuration menu - View commit details
-
Copy full SHA for f7730ef - Browse repository at this point
Copy the full SHA f7730efView commit details
Commits on Nov 6, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 35da03c - Browse repository at this point
Copy the full SHA 35da03cView commit details
Commits on Nov 7, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 1676024 - Browse repository at this point
Copy the full SHA 1676024View commit details
Commits on Jun 11, 2023
-
Add tables of alternatives discussed in this RFC
An overview of alternatives and their drawbacks (including drawbacks to the syntax currently proposed) are provided in tables in the Alternatives section, as requested by the Nix team. These tables are intended to be an overview of some of the discussion in this RFC and will be updated as discussion continues.
Configuration menu - View commit details
-
Copy full SHA for d67d442 - Browse repository at this point
Copy the full SHA d67d442View commit details -
Configuration menu - View commit details
-
Copy full SHA for d869514 - Browse repository at this point
Copy the full SHA d869514View commit details -
Linked content has moved to recipes/best-practices
Configuration menu - View commit details
-
Copy full SHA for 7dbdd8e - Browse repository at this point
Copy the full SHA 7dbdd8eView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.