!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

874 Members
For people hacking on the Nix package manager itself186 Servers

Load older messages


SenderMessageTime
18 Oct 2025
@raboof:matrix.orgraboofhmm I seems to remember in the past I seem to remember it would refuse to even start rebuilding in that case, with a message about "some outputs are not valid" or somesuch. I can't reproduce it right now, though, and might be confusing things.10:38:56
@raboof:matrix.orgraboofthings like https://cache.nixos.org/5yzw0vhkyszf2d179m0qfkgxmp5wjjx4.narinfo have no deriver but are in the cache anyway... do those ever get fetched? wouldn't they always be present locally because they're created as part of instantiation?15:26:14
@dramforever:matrix.orgdramforever you don't have to eval to download stuff from cache.nixos.org, there's nix copy 15:27:54
@dramforever:matrix.orgdramforever uh, with --substitute-on-destination 15:28:16
@dramforever:matrix.orgdramforever or you can nix copy --from https://cache.nixos.org a path 15:28:31
@dramforever:matrix.orgdramforeverbut the point is no, it won't always be present locally15:28:55
@raboof:matrix.orgraboof right, you can, but I wondered if/when that happens in practice 15:30:58
@dramforever:matrix.orgdramforever --substitute-on-destination definitely happens in practice 15:32:11
@fzakaria:one.ems.hostfzakariaanyone want to pair/hack tonight?20:11:25
@fzakaria:one.ems.hostfzakaria

Question I was confused by Jeremy Fleischman (jfly) :

When calculating store-paths, Nix does "Hashing modulo fixed-output derivations" -- this makes sense since you want the store-path to be stable for multiple drvs for the FOD.

His question:
Can we replace all the inputDrvs with their store-path and also achieve the same thing?
(replace via the same massaging that we do for FODs)

20:54:21
@fzakaria:one.ems.hostfzakariaimage.png
Download image.png
21:04:07
@fzakaria:one.ems.hostfzakariaThe part we are confused about: B.drv may have many different A.drv ; That's OK because eventually A.drv is replaced with A.outPath... BUT C depends on B.drv ... wouldn't that path have changed since the contents of the drv can have N A.drv paths21:04:58
@jfly:matrix.orgJeremy Fleischman (jfly) My question is stronger than "can we?". I'm saying "mustn't we?" 21:42:26
19 Oct 2025
@lovesegfault:matrix.orglovesegfault

I'd appreciate some feedback on https://github.com/NixOS/nix/pull/14298, in particular regarding this:

One open question is that, with this fix, we accept copies of paths with any signature, even if that signature is not trusted. Perhaps we ought to only accept trusted signatures?

01:59:05
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
@eelco:nixos.org@eelco:nixos.org invited @grahamc:nixos.orggrahamc.16:02:36
@grahamc:nixos.orggrahamc joined the room.16:02:51
@stick:matrix.orgprusnak joined the room.16:03:18
@immae:matrix.orgimmae (he/him) joined the room.16:03:29
@stick:matrix.orgprusnak changed their display name from stick to prusnak.16:03:56
@stick:matrix.orgprusnak changed their display name from prusnak to stick.16:04:03
@stick:matrix.orgprusnak changed their profile picture.16:04:57
@stick:matrix.orgprusnak changed their display name from stick to prusnak.16:05:00

Show newer messages


Back to Room ListRoom Version: 6