Nix Hackers | 909 Members | |
| For people hacking on the Nix package manager itself | 190 Servers |
| Sender | Message | Time |
|---|---|---|
| 5 Mar 2025 | ||
| so no advantage to anything else | 17:38:48 | |
| 18:03:52 | ||
| 6 Mar 2025 | ||
| 02:33:30 | ||
| 02:36:01 | ||
| I'm going to make this comment here because I think it is one of the most important things I've said in the world of NixOS. Please read this comment: https://discourse.nixos.org/t/determinate-nix-3-0/61202/57 | 21:33:50 | |
| 7 Mar 2025 | ||
| 16:03:20 | ||
| 8 Mar 2025 | ||
| 03:22:45 | ||
| Trying to figure out dynamic derivations; I'd appreciate some tips | 06:07:58 | |
| Hitting some weird road blocks with what I think would work. | 06:08:14 | |
| Like:
| 06:08:22 | |
| You might need a wrapping drv for now. | 06:20:45 | |
| Here is my strawman https://pastebin.com/wnHmj4pW | 06:46:30 | |
| i think it's a wrapping drv? | 06:46:36 | |
| 07:01:28 | ||
| 10:43:32 | ||
| 12:27:30 | ||
| hey, I added the modulo operator to nix: https://github.com/NixOS/nix/pull/12617 I'd be grateful for any reviews, likes under the PR or advice on how to get it merged quick (I've seen a lot of PRs be untouched for a long time and I'm not hopeful for mine) | 12:36:10 | |
| 13:49:09 | ||
| 16:46:35 | ||
| https://discourse.nixos.org/t/determinate-nix-3-0/61202/80
I wonder what was meant by that? Does it mean that | 17:55:04 | |
| I don't think you can break evaluation purity with pure-eval | 17:55:47 | |
| And it's not like it's that difficult to use, I've ran nix darwin using this script for a couple of months just fine
| 17:57:44 | |
| a lot of things that user posts are wrong. you do have to copy your sources with pure eval though, which sort of reduces to being flakes in many ways people care about | 17:57:56 | |
In reply to @emilazy:matrix.org Needing to copy sources is unfortunate, sure, but seeing as flakes also do that anyways, shouldn't matter much And this approach doesn't require any changes to be done to the cppnix source code | 18:00:43 | |
| "needing to copy sources" is not an absolute need, I think, no? | 18:01:30 | |
| lazy trees is exactly about removing that requirement | 18:01:35 | |
| more generally, the problem of purity in presence of sources is the one of installing a virtual filesystem layer | 18:01:55 | |
| I think "you have to write your own deployment thing and it has to have the main thing people hate about the flakes UX" is not insignificant | 18:02:43 | |
| i'm gonna steal this, thank you | 18:02:47 | |
In reply to @raitobezarius:matrix.orgAbsolutely, but again, that's kinda detached from the flakes as builtins.path can also absolutely be made lazy | 18:02:51 | |