!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

893 Members
For people hacking on the Nix package manager itself190 Servers

Load older messages


SenderMessageTime
3 Dec 2025
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Probably just a nested exception from the interrupt01:29:27
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)There are many of those sadly :(01:29:38
@joerg:thalheim.ioMic92
In reply to @matthewcroughan:defenestrate.it
Damnit
Did you hit ctrl-c?
06:38:45
@joerg:thalheim.ioMic92
In reply to @roberthensing:matrix.org
so putting meta in derivations without impacting hashing was actually kinda low hanging fruit
https://github.com/NixOS/nix/pull/14686
I think i want better roadmaps that are actually followed up on for new experimental features. Nix starts to look like haskell with it's preamble of language extensions
06:43:34
@maridonkers:matrix.orgThe Photonsphere joined the room.12:58:37
@wplanck:mozilla.org@wplanck:mozilla.org left the room.13:14:11
@matthewcroughan:defenestrate.itmatthewcroughanYeah14:33:46
@connorbaker:matrix.orgconnor (burnt/out) (UTC-8)If only we could enable them per-file ;)16:08:56
@shine:proqqul.netTaeer Bar-Yam

How can I be getting the error message

error: output '/nix/store/6s177q59d74xhxkj8p54bga156d9g84b-test' is not allowed to refer to the following paths:
         /nix/store/6s177q59d74xhxkj8p54bga156d9g84b-test

Without hitting the checkOutputs() function at all? That text doesn't appear anywhere else in the code!

Things I did:

  1. adding a debug print statement std::cout << "HERE\n"; (didn't get printed)
  2. running with a breakpoint in gdb (didn't get hit)
  3. commenting out the relevant throw (threw the error anyways)
  4. running on a fresh derivation in case i was hitting some cache (same results)
  5. putting obvious errors in checkOutputs() (compile error. so I am recompiling this function)
  6. editing src/nix/main.cc in obvious ways to make sure I was running the binary that was getting built (obvious changes showed up, so I'm successfully building and running the right binary)
17:46:50
@shine:proqqul.netTaeer Bar-Yam *

How can I be getting the error message

error: output '/nix/store/6s177q59d74xhxkj8p54bga156d9g84b-test' is not allowed to refer to the following paths:
         /nix/store/6s177q59d74xhxkj8p54bga156d9g84b-test

Without hitting the checkOutputs() function at all? That text doesn't appear anywhere else in the code!

Things I did:

  1. adding a debug print statement std::cout << "HERE\n"; (didn't get printed)
  2. running with a breakpoint in gdb (didn't get hit)
  3. commenting out the relevant throw (threw the error anyways)
  4. changing the text of the relevant throw (printed the old text)
  5. running on a fresh derivation in case i was hitting some cache (same results)
  6. putting obvious errors in checkOutputs() (compile error. so I am recompiling this function)
  7. editing src/nix/main.cc in obvious ways to make sure I was running the binary that was getting built (obvious changes showed up, so I'm successfully building and running the right binary)
17:48:03
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Dumb question. Did you funnel this to the newly built nix's local store or a separate daemon?17:48:15
@shine:proqqul.netTaeer Bar-YamOH is that code running on the daemon?? of course!17:48:37
@shine:proqqul.netTaeer Bar-Yami knew i was going to kick myself when i figured it out17:48:42
@shine:proqqul.netTaeer Bar-Yamor when someone told me, rather17:48:46
@shine:proqqul.netTaeer Bar-Yami've been spending so much time in the parsing code i forgot about the daemon17:49:07
@shine:proqqul.netTaeer Bar-Yamhow do i force it to use local nix for the daemon again?17:49:31
@xokdvium:matrix.orgSergei Zimmerman (xokdvium) Depends. You can just use a chroot store with --store /path/to/chroot/store 17:50:39
@shine:proqqul.netTaeer Bar-Yamthank you!!17:51:25
@roberthensing:matrix.orgroberthSure. This one is a small change, and can be stabilized to become a normal requiredSystemFeatures feature. I would suggest to do that after 1 year. SBOM folks will use this stuff, so unlike say the TOML timestamps we'll get some testing in that time.22:05:22
@roberthensing:matrix.orgroberth As for requiredSystemFeatures becoming a Haskell-esque preamble, that's mitigated by having Nixpkgs do it, and you can bundle a bunch of them up into a single flag like Haskell2010 did. We're nowhere near that though. ca-derivations will remain a choice anyway (input addressing is useful), so structured attrs is the only other such flag so far. 22:08:02
@roberthensing:matrix.orgroberthstructuredAttrs and the discard references thing should have been requiredSystemFeatures, but that's not useful anymore at this point22:10:01
4 Dec 2025
@i-am-logger:matrix.orgIdo Samuelson joined the room.01:47:49
19 May 2021
@eelco:nixos.org@eelco:nixos.org changed the history visibility to "world_readable" from "shared".15:40:14
@eelco:nixos.org@eelco:nixos.org changed the room name to "Nix Hackers" from "Nix Development".15:45:04
@eelco:nixos.org@eelco:nixos.org changed the room topic to "For people hacking on the Nix package manager itself" from "Development of the Nix package manager".15:45:04
@casey:hubns.netcransom joined the room.15:45:08
@sumner:sumnerevans.comsumner joined the room.15:45:19
@danielle:fairydust.spacedanielle joined the room.15:47:55
@aaron:fosslib.netaaron joined the room.15:54:00
@casey:hubns.netcransom changed their display name from casey © to cransom.15:56:27

Show newer messages


Back to Room ListRoom Version: 6