!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

930 Members
For people hacking on the Nix package manager itself197 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
18 Oct 2025
@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

Show newer messages


Back to Room ListRoom Version: 6