diff options
author | Bernardo Meurer <bernardo@meurer.org> | 2021-03-03 14:46:15 -0800 |
---|---|---|
committer | Bernardo Meurer <bernardo@meurer.org> | 2021-03-04 18:54:45 -0800 |
commit | 6e849e3b0a6eb46e6dc65cbd091cc829eab09a5f (patch) | |
tree | d3bd8fad203520396f933a36639268d3dbb64105 /perl/lib/Nix | |
parent | 665d4ec2dac6734caff9de5b030be123cb7276ef (diff) |
nix-build: set execfail
When starting a nix-shell with `-i` it was previously possible for it to
silently fail in the scenario where the specified interpreter didn't
exist. This happened due to the `exec` call masking the issue.
With this change we enable `execfail`, which causes the script using
`nix-shell` as interpreter to correctly exit with code 127.
Fixes: #4598
Diffstat (limited to 'perl/lib/Nix')
0 files changed, 0 insertions, 0 deletions