Open aespinosa opened 8 years ago
I've been having trouble to load my default.nix environment for my Jenkins jobs. My script is being interpreted as nix code instead of the interpreter I specified:
[workspace] $ /usr/bin/env nix-shell /var/folders/bh/q33bp93j2js6zv27rds0n1x00000gn/T/hudson5799651993425365822.sh error: undefined variable ‘jupyter’ at /var/folders/bh/q33bp93j2js6zv27rds0n1x00000gn/T/hudson5799651993425365822.sh:4:1
Here's the Jenkins 'Execute Shell' build step:
#!/usr/bin/env nix-shell #!nix-shell -i bash jupyter --version
I would expect to have something like 'jupyter: command not found' if the interpreter being launched was bash.
I think having a flag to force interpretation will be good to remove some ambiguities.
I marked this as stale due to inactivity. → More info
I closed this issue due to inactivity. → More info
I've been having trouble to load my default.nix environment for my Jenkins jobs. My script is being interpreted as nix code instead of the interpreter I specified:
Here's the Jenkins 'Execute Shell' build step:
I would expect to have something like 'jupyter: command not found' if the interpreter being launched was bash.
I think having a flag to force interpretation will be good to remove some ambiguities.