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

Assertion syntax in error in the manual? #3388

Closed
wants to merge 1 commit into from
Closed

Commits on Mar 7, 2020

  1. Assertion syntax in error in the manual?

    I'm a complete neophyte to Nix, but based on the example in manual and looking in `nixpkgs` a bit it seems like the actual `assert` syntax is `assert e1 -> e2`  not `assert e1; e2`.  If I'm got this garbled, please ignore of course, but even if so I think it's still worth pointing out that for a new learner this explanation and example _seem_ contradictory_  as written and could probably be clarified.
    mayl committed Mar 7, 2020
    Copy the full SHA
    f8f56f2 View commit details
    Browse the repository at this point in the history