-
-
Notifications
You must be signed in to change notification settings - Fork 13.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ammonite "exec" format issue on fish #68151
Comments
|
https://fishshell.com/docs/current/commands.html#exec exec(1) https://www.gnu.org/savannah-checkouts/gnu/bash/manual/bash.html#index-exec |
@fabianhjr I have the same issue. Should we open an issue on the Ammonite repo? |
Not really sure, I think it has mostly to do with the nix package rather than upstream. Maybe add a shebang for /bin/sh or require bash and add a bash shebang or have a fish version (an |
I have the same issue with z-lua:
Should I open a separate issue? I'm going to try to open an issue on fish to see what they recommend. |
I found this related issue: fish-shell/fish-shell#4946 |
I use fish too and I had the same issue. The ammonite documentation recommends adding the shebang line when installing. I think it's on the Nixpkgs derivation to fix this. |
fix shell in ammonite package #68151
Describe the bug
The ammonite package is broken if a user sets their shell to
fish
.To Reproduce
fish
ammonite
package (nix-env -iA nixos.ammonite
amm
executable.One will get the following error:
However,
works.
Expected behavior
Ammonite loads a REPL
Metadata
"x86_64-linux"
Linux 5.2.11, NixOS, 19.03.173426.541d9cce8af (Koi)
yes
yes
nix-env (Nix) 2.2.2
"nixos-19.03.173426.541d9cce8af"
"nixos-unstable-19.09pre191505.7d5375ebf4c"
/nix/var/nix/profiles/per-user/root/channels/nixos
Maintainer information:
Maintainer: /cc @NeQuissimus
The text was updated successfully, but these errors were encountered: