just icon indicating copy to clipboard operation
just copied to clipboard

nix multi-line shebang is not handled by just

Open oux opened this issue 9 months ago • 2 comments

Environment:

  • nix 2.20.1 or later
  • just 1.25.2

justfile:

hello:
  #!/usr/bin/env nix
  #! nix shell  nixpkgs#hello nixpkgs#cowsay --command bash
  hello | cowsay

Error: image

Same shebang on a simple shell script file: image

Nix shebang documentation: https://nixos.org/manual/nix/stable/command-ref/new-cli/nix.html#shebang-interpreter

oux avatar May 07 '24 15:05 oux