Lix | 1139 Members | |
| Lix user channel. Feel free to discuss on-topic issues here and give each other help. For matrix.to links to the rest of the Lix channels, see: https://wiki.lix.systems/books/lix-organisation/page/matrix-rooms | 316 Servers |
| Sender | Message | Time |
|---|---|---|
| 7 Apr 2026 | ||
| I'm not sure myself but I'd take a look at path registration for .drvs | 22:27:28 | |
| I'm going to bed for now, but I can take a look a bit more later | 22:27:35 | |
| You gave me some clues on where to search already. I hope I will figure this out tonight :) Thanks a lot! Have a good night :) | 22:32:31 | |
| what is Pasta in Lix? | 22:36:07 | |
| * what is Pasta in Lix as referred to by the announcement? | 22:36:25 | |
| https://passt.top | 22:38:00 | |
| (basically, if i understand correctly: on linux, it allows giving as much flexibility as possible to derivations that use the network (normally only fixed-output derivations), by putting them in "user namespaces" (a similar mechanism to how isolation works for containers). without pasta, you'd need to run a larger chunk of the network- and isolation-managing code as root, extending the attack surface (and generally making things messier and harder to maintain)) | 22:45:47 | |
| i'm not a team member though so take what i say with a grain of salt | 22:46:30 | |
| I think I figured it out raito,
I expected to be able to re-use | 22:49:50 | |
| * https://passt.top (edit: sorry I didn't mean to RTFM, I thought you just asked for a link) | 22:50:34 | |
| * I think I figured it out raito,
I expected to be able to re-use | 22:52:19 | |
In reply to @jlamur:matrix.orgno I was fine with this, thanks | 22:53:53 | |
In reply to @blokyk:matrix.organd thank you too | 22:53:58 | |
i don't know what you're trying to find the end, and i can't try it right now, but if you're trying to do recursive stuff on drv dependencies, could nix path-info --recursive help you? | 22:55:05 | |
In reply to @weirdrock:4d2.orghttps://docs.lix.systems/manual/lix/stable/advanced-topics/pasta.html | 22:55:10 | |
| aaah i was too lazy to check the manual and couldn't find it with google so i just assumed i hallucinated it because of tiredness | 22:56:06 | |
In reply to @jlamur:matrix.orgWorth a feature request perhaps | 22:56:06 | |
| thanks for the suggestion, it has the same behavior sadly :( | 23:03:50 | |
what I'm trying to do is get the complete list of all the .drv and outputs of all the dependencies in pkgs/top-level/release.nix (or nixos/release.nix, it does not matter) | 23:05:15 | |
| (without having to fill my local store with >1TB of packages) | 23:06:09 | |
| nix-eval-jobs ? | 23:06:35 | |
| yes, that's what I do, but it returns the leaves' .drv (unless I'm missing something?) | 23:07:09 | |
| hmmm force recurse should return all drvs up to the bootstrap tarballs i think | 23:08:16 | |
| I'm not sure about that, force-recurse forces recursion in attrs declared in release.nix, not in the dependency tree of each packages AFAIU | 23:09:13 | |
(I already use --force-recurse otherwise eval-jobs stops its evaluation without evaluating anything since there is at least one level of nested attrs in release.nix) | 23:11:01 | |
| 23:12:40 | |
| --no-instantiate | 23:14:13 | |
| * --no-instantiate? | 23:14:15 | |
| * --no-instantiate? dunno if that does what you need but it does avoid writing out derivations | 23:15:30 | |
| (I already tried that IIRC it prevents nix from putting the drvs in the store, but I tried to re-run it in case I missed something -- it's in progress) | 23:16:08 | |