!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

220 Members
70 Servers

Load older messages


SenderMessageTime
23 Sep 2022
@winterqt:nixos.devWinter (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
@winterqt:nixos.devWinter (she/her)(i can't repro this on any machine other than the OfBorg builders so that's also fun)11:42:09
@winterqt:nixos.devWinter (she/her)(to be clear, the command that supposedly exited is... still going after the hook...)12:54:59
@winterqt:nixos.devWinter (she/her)

trap "exitHandler" EXIT

13:03:28
@winterqt:nixos.devWinter (she/her)which should not be possible! what even13:03:37
@winterqt:nixos.devWinter (she/her)

If a sigspec is 0 or EXIT, arg is executed when the shell exits.

15:14:55
@winterqt:nixos.devWinter (she/her)per bash manual15:14:58
@winterqt:nixos.devWinter (she/her) so... what? 15:15:07
@trofi:matrix.org@trofi:matrix.orgMight be a subshell?17:36:08
25 Sep 2022
@piegames:matrix.orgpiegames joined the room.19:11:27
@piegames:matrix.orgpiegamesHi, can somebody help me figure out what exactly this failure means? https://gist.github.com/GrahamcOfBorg/40de36fd7e6b24925f81c75e8623dc0a19:12:04
@piegames:matrix.orgpiegames This happens when I call lib.getName on a derivation during checkMeta, see https://github.com/NixOS/nixpkgs/pull/177272 19:12:29
@artturin:matrix.orgArtturin 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:matrix.orgpiegamesBut—why?19:30:15

There are no newer messages yet.


Back to Room ListRoom Version: 9