!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

220 Members
70 Servers

Load older messages


SenderMessageTime
7 Sep 2022
@winterqt:nixos.devWinter (she/her)thanks, i think you're right07:43:20
10 Sep 2022
@FRidh:matrix.orgFRidh joined the room.06:11:17
14 Sep 2022
@pennae:matrix.eno.spacepennae left the room.14:10:50
15 Sep 2022
@m_algery:leohoo.xyzm_algery joined the room.12:48:24
@m_algery:leohoo.xyzm_algery left the room.12:48:25
18 Sep 2022
@FRidh:matrix.orgFRidh set a profile picture.17:20:58
23 Sep 2022
@winterqt:nixos.devWinter (she/her)
npm ERR! Log files were not written due to an error writing to the directory: /homeless-shelter/.npm/_logs
npm ERR! You can rerun the command with `--loglevel=verbose` to see the logs in your terminal
+ exitHandler
+ exitCode=226
+ set +e
+ '[' -n '' ']'
+ ((  226 != 0  ))
+ runHook failureHook
+ local hookName=failureHook
+ shift
+ local 'hooksSlice=failureHooks[@]'
+ local hook
+ for hook in "_callImplicitHook 0 $hookName" ${!hooksSlice+"${!hooksSlice}"}
+ _eval '_callImplicitHook 0 failureHook'
+ declare -F '_callImplicitHook 0 failureHook'
+ eval '_callImplicitHook 0 failureHook'
++ _callImplicitHook 0 failureHook
++ local def=0
++ local hookName=failureHook
++ declare -F failureHook
++ type -p failureHook
++ '[' -n '' ']'
++ return 0
+ return 0
+ '[' -n '' ']'
+ return 226
   Compiling proc-macro2 v1.0.43
11:41:34
@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
@artturin:matrix.orgArtturin
nix-repl> builtins.baseNameOf bash
"p7bpdnxqd3i5hwm92mrscf7mvxk66404-bash-5.1-p16"

so it'll be embeded in the name

19:32:52
@artturin:matrix.orgArtturin builtins.unsafeDiscardStringContext has to be used 19:32:55
@artturin:matrix.orgArtturin
diff --git a/pkgs/build-support/trivial-builders/test-overriding.nix b/pkgs/build-support/trivial-builders/test-overriding.nix
index a16bbbee1b1..1ea8d7c0b90 100644
--- a/pkgs/build-support/trivial-builders/test-overriding.nix
+++ b/pkgs/build-support/trivial-builders/test-overriding.nix
@@ -91,7 +91,7 @@ let
   # works at run time.
   runTest = script:
     let
-      name = script.name or (builtins.baseNameOf script);
+      name = script.name or (builtins.unsafeDiscardStringContext (builtins.baseNameOf script));
     in writeShellScript "run-${name}" ''
       if [ "$(${script})" != "success" ]; then
         echo "Failed in ${name}"

makes it pass too

19:33:37
@piegames:matrix.orgpiegames Artturin Thank you 20:14:21
28 Sep 2022
@coolshaurya:community.rscoolshaurya changed their profile picture.17:32:55
3 Oct 2022
@spacesbot:nixos.devspacesbot - keeps a log of public NixOS channels joined the room.14:25:48
@artturin:matrix.orgArtturinhttps://github.com/NixOS/nixpkgs/pull/19425917:20:43
15 Oct 2022
@tinybronca:sibnsk.netunderpantsgnome changed their display name from underpantsgnome to underpantsgnome!.00:34:19
17 Oct 2022
@hexa:lossy.networkhexa

On x86_64 systems, x86_64 microarchitecture levels are mapped to additional system types (e.g. x86_64-v1-linux).

13:39:44

Show newer messages


Back to Room ListRoom Version: 9