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: rust: fix syntax error in code snippet example for declarative overlay #109603

Merged

Conversation

alexeicolin
Copy link
Contributor

Motivation for this change

In documentation, the suggested snipped for declaring Mozilla overlay
results in an error when pasted into shell.nix:

error: syntax error, unexpected '=', expecting $end, at /.../shell.nix:2:9

Please close PR if I'm simply doing things wrong, because I am very new to Nix.

Things done

Suggesting a fix to the code snippet that worked for me.

Otherwise pasting the snippet into shell.nix results in:

	error: syntax error, unexpected '=', expecting $end, at /.../shell.nix:2:9

Signed-off-by: Alexei Colin <ac@alexeicolin.com>
@Ma27 Ma27 merged commit 3876561 into NixOS:master Jan 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants