Open plha-demant opened 1 year ago
it works for me on nix 2.16.1 [francesc@ew15 ~]$ rm -f default.nix && touch default.nix [francesc@ew15 ~]$ nix-shell default.nix error: syntax error, unexpected end of file
at /home/francesc/default.nix:1:1:
1|
| ^
1 [francesc@ew15 ~]$ nix --version nix (Nix) 2.16.1
Getting the same issue.
Describe the bug
nix-shell segfaults when given an empty file as single argument.
Steps To Reproduce
rm -f default.nix && touch default.nix
Run:
Expected behavior I was expecting an error message like when you run nix-shell without any arguments:
nix-env --version
output Observed in the following versions: