!VRULIdgoKmKPzJZzjj:nixos.org

Nix Package Manager development

859 Members
For people hacking on Nix: https://github.com/NixOS/nix Nix maintainers can be reached here.185 Servers

Load older messages


SenderMessageTime
17 Oct 2025
@Ericson2314:matrix.orgJohn Ericson raboof: so a tricky thing with --check is that it doesn't register outputs that were not registered before 15:46:05
@Ericson2314:matrix.orgJohn EricsonI was surprised to learn that, and a few of my refactors were dedicated to making sure I didn't break that15:46:47
@Ericson2314:matrix.orgJohn Ericsonas a I split things up15:46:56
@Ericson2314:matrix.orgJohn Ericson that is why DerivationBuilder doesn't register or return any path infos in the --check case 15:47:27
@Ericson2314:matrix.orgJohn Ericsonand I think it should stay that way15:47:30
@Ericson2314:matrix.orgJohn Ericson but we can make the caller just look them in the check case just for calling the hook 15:47:43
@Ericson2314:matrix.orgJohn Ericson raboof: https://github.com/NixOS/nix/pull/14289 here's your fix! :) 17:11:20
@raboof:matrix.orgraboofOh cool, thx! s/most/post/ 🙂. Will take it for a spin later this weekend!17:50:44
@fzakaria:one.ems.hostfzakariaDo the VM tests use a different derivation ?19:13:39
@fzakaria:one.ems.hostfzakaria My new test is passing .#componentTests but failing vmTests 19:14:04
@fzakaria:one.ems.hostfzakariaI need to add python3 ... hmm; Not sure why it's not there if it's in the componentTests19:16:10
@fzakaria:one.ems.hostfzakaria(I think I found it -- probably makes more sense to make it propagatedInputs but i just referenced it again)19:18:23
@fzakaria:one.ems.hostfzakariaokay gonna pickup another issue19:36:39
@fzakaria:one.ems.hostfzakariai hit 60 min timeout on this PR20:23:07
@fzakaria:one.ems.hostfzakariahttps://github.com/NixOS/nix/pull/1428520:23:08
@fzakaria:one.ems.hostfzakariabut its all post tests :(20:23:15
@fzakaria:one.ems.hostfzakariacan someone re-run it ?23:18:34
18 Oct 2025
@ihar.hrachyshka:matrix.org@ihar.hrachyshka:matrix.org left the room.00:11:45
@turbio:matrix.orgturbio joined the room.00:21:51
@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

Show newer messages


Back to Room ListRoom Version: 6