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

doc/manual: add note to allowSubstitutes advanced attribute #3255

Merged

Conversation

Profpatsch
Copy link
Member

As discussed on #nixos-dev, this adds a note to allowSubstitutes to tell users about the possible problem if systembuiltins.currentSystem.

I hate how I phrased it, maybe we can find a wording that’s easier to understand.

cc @7c6f434c @cleverca22 @infinisil

This makes it possible to reference single attribute definitions,
for pointing people to their exact definition.
Copy link
Member

@infinisil infinisil left a comment

Choose a reason for hiding this comment

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

Wording makes sense to me, I'd be fine with that

Profpatsch added a commit to Profpatsch/nixpkgs that referenced this pull request Dec 3, 2019
The link in the note points to the `id` added in
NixOS/nix#3255, so it might take some time to
start working correctly.
@edolstra edolstra merged commit f4b9495 into NixOS:master Dec 4, 2019
Profpatsch added a commit to NixOS/nixpkgs that referenced this pull request Dec 4, 2019
The link in the note points to the `id` added in
NixOS/nix#3255, so it might take some time to
start working correctly.
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