| 23 Sep 2022 |
Winter (she/her) | does anyone know how it's possible for a command to "fail", run the failure hook, but then... keep going? | 11:41:53 |
Winter (she/her) | (i can't repro this on any machine other than the OfBorg builders so that's also fun) | 11:42:09 |
Winter (she/her) | (to be clear, the command that supposedly exited is... still going after the hook...) | 12:54:59 |
Winter (she/her) |
trap "exitHandler" EXIT
| 13:03:28 |
Winter (she/her) | which should not be possible! what even | 13:03:37 |
Winter (she/her) |
If a sigspec is 0 or EXIT, arg is executed when the shell exits.
| 15:14:55 |
Winter (she/her) | per bash manual | 15:14:58 |
Winter (she/her) | so... what? | 15:15:07 |
@trofi:matrix.org | Might be a subshell? | 17:36:08 |
| 25 Sep 2022 |
| piegames joined the room. | 19:11:27 |
piegames | Hi, can somebody help me figure out what exactly this failure means? https://gist.github.com/GrahamcOfBorg/40de36fd7e6b24925f81c75e8623dc0a | 19:12:04 |
piegames | This happens when I call lib.getName on a derivation during checkMeta, see https://github.com/NixOS/nixpkgs/pull/177272 | 19:12:29 |
Artturin | removing ${name} from here https://github.com/NixOS/nixpkgs/blob/5fa1488e2b0effad849125784310f17b16f59004/pkgs/build-support/trivial-builders/test-overriding.nix#L95 makes it not fail | 19:28:20 |
piegames | But—why? | 19:30:15 |