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
When using ANTs (e.g. nix-shell -p ants), the non .sh commands work seemingly fine, but .sh throw an error:
[nix-shell:~]$ antsRegistrationSyNQuick.sh
/nix/store/gq9f8s768a70y0mzjbk4bj73mh9j41im-ANTs-2.5.4/bin/.antsRegistrationSyNQuick.sh-wrapped: line 113: basename: command not found
/nix/store/gq9f8s768a70y0mzjbk4bj73mh9j41im-ANTs-2.5.4/bin/.antsRegistrationSyNQuick.sh-wrapped: line 113: basename: command not found
/nix/store/gq9f8s768a70y0mzjbk4bj73mh9j41im-ANTs-2.5.4/bin/.antsRegistrationSyNQuick.sh-wrapped: line 113: cat: command not found
Steps to reproduce
add ANTs to environment (nix-shell -p ants)
run e.g. antsRegistrationSyNQuick.sh
Expected behaviour
It runs (and prints help for example)
Screenshots
No response
Relevant log output
/nix/store/gq9f8s768a70y0mzjbk4bj73mh9j41im-ANTs-2.5.4/bin/.antsRegistrationSyNQuick.sh-wrapped: line 113: basename: command not found/nix/store/gq9f8s768a70y0mzjbk4bj73mh9j41im-ANTs-2.5.4/bin/.antsRegistrationSyNQuick.sh-wrapped: line 113: basename: command not found/nix/store/gq9f8s768a70y0mzjbk4bj73mh9j41im-ANTs-2.5.4/bin/.antsRegistrationSyNQuick.sh-wrapped: line 113: cat: command not found
Additional context
No response
System metadata
system: "x86_64-linux"
host os: Linux 6.13.1, NixOS, 24.11 (Vicuna), 24.11.714127.f5a32fa27df9
Nixpkgs version
Describe the bug
When using ANTs (e.g.
nix-shell -p ants
), the non .sh commands work seemingly fine, but.sh
throw an error:Steps to reproduce
nix-shell -p ants
)antsRegistrationSyNQuick.sh
Expected behaviour
It runs (and prints help for example)
Screenshots
No response
Relevant log output
Additional context
No response
System metadata
"x86_64-linux"
Linux 6.13.1, NixOS, 24.11 (Vicuna), 24.11.714127.f5a32fa27df9
yes
yes
nix-env (Nix) 2.24.12
"home-manager-24.11.tar.gz, nixos-24.11, nixos-hardware, nixos-unstable"
/nix/var/nix/profiles/per-user/root/channels/nixos
Notify maintainers
@bcdarwin
Note for maintainers: Please tag this issue in your pull request description. (i.e.
Resolves #ISSUE
.)I assert that this issue is relevant for Nixpkgs
Is this issue important to you?
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: