Nix Hackers | 917 Members | |
| For people hacking on the Nix package manager itself | 191 Servers |
| Sender | Message | Time |
|---|---|---|
| 5 Mar 2025 | ||
| Also FYI https://github.com/facebook/buck2/issues/866 | 17:25:21 | |
| I sent to @edef1c too | 17:27:02 | |
In reply to @roberthensing:matrix.org builtins.placeholder has the same "issue", though i like them not being /nix/store-prefixed because it disambiguates that their format is unstable | 17:31:38 | |
| That one isn't experimental, so we'd need a very very good reason to change that anyway | 17:33:35 | |
| I don't suppose Nix strings support NUL bytes in them so that we could properly separate the namespace from actual filesystem paths? in the same way abstract Unix sockets do | 17:33:47 | |
| Also isn't user-handled as much as outputs are | 17:34:04 | |
| Evaluator strings are C strings. This could be changed to something with a length, but we're not in a hurry. I guess one of those separator control characters could serve the same role, but I feel that it'd be weird to do any of that (regardless of choice of byte value) | 17:35:50 | |
| NUL is the only byte that is actually guaranteed to not be allowed on Linux anyway (though of course other platforms exist too) | 17:38:44 | |
| 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 | |