Skip to content

In errror report for unexpected argument, reported the name of the unexpected argument #149

Closed

Description

@mbravenboer

This is a tiny usability issue, hopefully it would be easy to improve.

See this error report:

error: function at `lb-nclique.nix:1:1' called 
with unexpected argument

It would be useful if the error report mentioned the actual unexpected argument, e.g.

error: function at `lb-nclique.nix:1:1' called 
with unexpected argument 'openssl'

Activity

  1. shlevy commented on Jul 24, 2013

    @shlevy
    Member

    Update your nix version 1b3a03f :P

  2. mbravenboer commented on Jul 24, 2013

    @mbravenboer
    Author

    whoops :) thanks!

  3. added a commit that references this issue on Jan 1, 2024
  4. added a commit that references this issue on Aug 4, 2025
  5. added 12 commits that reference this issue on Aug 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions