haskell-nix/hnix

Please, check if the file content/expression is empty, if it is - produce a human readable error

Open

#822 opened on Jan 14, 2021

 (0 comments) (0 reactions) (0 assignees)Nix (116 forks)github user discovery
good first issue

Repository metrics

Stars
 (835 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Continuation of: https://github.com/haskell-nix/hnix/issues/507

The main thing there that people just do not know the Nix behavior in the base case, when the file is empty, aka when the expression is empty.

Would've been great, though, to have a human-readable error message for that base case.

This report is not all that important and can be closed.

Contributor guide