-
-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Consider this line of Bash code:
trap hello EXITThe hello in that line of code is an external command that should be resolved, but unfortunately, resholve does not resolve it at the moment.
Steps to reproduce
-
Make sure that the
hellocommand is not on yourPATH. -
Run the minimum reproduction script that I created by running this command:
nix --extra-experimental-features 'nix-command flakes' run 'git+https://codeberg.org/JasonYundt/commands-inside-traps-are-not-resholved.git?ref=refs/heads/main&rev=48e736a6b3225210da87d4b21033883b6e4c459d'
Result
/nix/store/mam02cpq1v1y6hi242djd1fi5dk37gqi-test-trap-parsing/bin/test-trap-parsing: line 1: hello: command not found
Metadata
Metadata
Assignees
Labels
No labels