Closed adrian-gierakowski closed 6 months ago
hmm, looks like it only gives this error when running with nix 2.21.0, with 2.18.2 it works, even without the shebang
Just hit this problem myself. Running the script on my laptop works fine, but in my CI run it fails. A bit puzzled why it fails though, because according to this Stack Exchange post, Bash uses the currently running shell to run the script. This is apparently bash-interactive-5.2-p15
on my CI but this is the same as my laptop. Anyways, adding a shebang should fix this!
see for yourelf by running:
or building and cating the file: