Lix | 1102 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 | 294 Servers |
| Sender | Message | Time |
|---|---|---|
| 22 Oct 2025 | ||
They were talking about derivation serialization, which is different from Nix expression serialization. You can view derivation serialization if you run something like nix derivation show nixpkgs#hello (for JSON), while the usual serialization of derivation is to ATerm, a weird old format you can view with something like nix eval nixpkgs#hello.drvPath | xargs cat. These are the "*.drv" files references sometimes. | 21:44:57 | |
* They were talking about derivation serialization, which is different from Nix expression serialization. You can view derivation serialization if you run something like nix derivation show nixpkgs#hello (for JSON), while the usual serialization of derivation is to ATerm, a weird old format you can view with something like nix eval nixpkgs#hello.drvPath | xargs cat. These are the "*.drv" files referenced sometimes. | 21:45:22 | |
| 23 Oct 2025 | ||
"I’d so much prefer writing Nix over JSON any day, but last time I checked (way over a year ago) that was not supported use case." sounds like just fromJSON/toJSON to me? | 00:19:58 | |
| a stable JSON serialization format for Nix derivations would not help with writing Nix over JSON | 00:20:12 | |
| unless the JSON you want to write happens to be exactly what the stable JSON derivation format would be :) | 00:20:24 | |
| The context here is i want to record build provenance info in Rekor. For which i need some canonical serialization of the build. I was using the json serialization now. But i think ATerm might be more honest? | 00:41:48 | |
| I guess I'll just also notarize the version of Lix used and then it doesn't matter wtf I do | 00:42:27 | |
| good | 00:44:45 | |
| 10:54:17 | ||
Why is it that I can build this file but not eval it? I just wanna get the storePath during eval
| 12:56:26 | |
*
Why is it that I can build this file but not eval it? I just wanna get the storePath when evaluating
| 12:56:53 | |
| .outPath ? | 12:57:25 | |
| also | 12:57:35 | |
| i don't think nix eval does auto call semantics | 12:57:44 | |
| you need to apply the function | 12:57:51 | |
Thanks! I think I can make it work with this 😄 | 13:01:33 | |
| 13:15:50 | ||
| 13:19:05 | ||
| 24 Oct 2025 | ||
| 02:01:05 | ||
| lix module overlay without flakes question: i'm experimenting with removing flakes from my system but am running into an issue where some override accesses the
in my configuration.nix gets me
(with my hacky fix for this commented out) | 10:46:28 | |
| specifically it only happens when adding colmena to my system, since that causes nix-eval-jobs to be evaluated(which this is an overlay for) | 10:47:18 | |
| i had a similar problem a while back, iirc this is a known issue. the fix which i think raito recommended was:
| 11:41:02 | |
so basically what i did, intentionally give it the rev it wants, ig? | 11:42:59 | |
| (idk how much the rev matters here, but i might as well give it the commit sha because i do have that) | 11:43:27 | |
| is there an issue for this so i can link to it in my config? | 11:43:39 | |
| ah, https://git.lix.systems/lix-project/lix/issues/906 | 11:44:18 | |
| oh but that seems to suggest applying a patch that has been merged | 11:45:25 | |
| ah, https://git.lix.systems/lix-project/nixos-module/issues/56 seems more appropriate | 11:46:05 | |
| 14:24:48 | ||
| hey everyone, im getting into using lix on nixos using the "advanced change" config, and im having trouble since i use the pipes feature. can i keep using pipes or do i have to stop using the,? | 14:26:36 | |