You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the reason this doesn't work is that when just extracts the body of a shebang recipe into a file to execute, just places the shabang line first, and then inserts blank lines before inserting the contents of the recipe, so that line numbers in error messages correspond to line numbers of the recipe.
So the way to fix this is to see if the next line is a shebang and put it at the top of the file.
Environment:
justfile:
Error:
Same shebang on a simple shell script file:
Nix shebang documentation:
https://nixos.org/manual/nix/stable/command-ref/new-cli/nix.html#shebang-interpreter
The text was updated successfully, but these errors were encountered: