Because 'set -e' has no effect on commands that run in an if condition, the script was always exiting with no error when 'doBuild' failed. As a bonus, $wrkdir is now always removed after building. |
||
|---|---|---|
| .. | ||
| default.nix | ||
| home-manager | ||
Because 'set -e' has no effect on commands that run in an if condition, the script was always exiting with no error when 'doBuild' failed. As a bonus, $wrkdir is now always removed after building. |
||
|---|---|---|
| .. | ||
| default.nix | ||
| home-manager | ||