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

Get rid of all with { inherit... } and just used let inherit... #24465

Merged
merged 1 commit into from Mar 30, 2017

Conversation

Ericson2314
Copy link
Member

Motivation for this change

The old forms presumably predates, or were made in ignorance of, let inherit. This way is better style as the scoping as more lexical, something which Nix can (or might already!) take advantage of.

The old forms presumably predates, or were made in ignorance of,
`let inherit`. This way is better style as the scoping as more lexical,
something which Nix can (or might already!) take advantage of.
@mention-bot
Copy link

@Ericson2314, thanks for your PR! By analyzing the history of the files in this pull request, we identified @edolstra, @MarcWeber and @cmfwyp to be potential reviewers.

@@ -10,7 +10,7 @@ let
version = "2.92";
in

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this one can be merged

@Ericson2314 Ericson2314 merged commit 166fc02 into NixOS:master Mar 30, 2017
@Ericson2314 Ericson2314 deleted the no-with-literal branch March 30, 2017 07:49
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

3 participants