Lix | 1119 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 | 305 Servers |
| Sender | Message | Time |
|---|---|---|
| 13 Feb 2026 | ||
| 16:23:20 | ||
| just a heads-up: I'm unable to reach git.lix.systems It might be down. | 18:47:02 | |
| 18:48:29 | ||
| 18:48:44 | ||
| 18:49:20 | ||
In reply to @sirius:ungleich.chFixed | 19:12:04 | |
| 22:57:27 | ||
| 14 Feb 2026 | ||
| 06:51:34 | ||
| 15:01:57 | ||
| Hi, when trying to upgrade from 25.05 to 25.11 I get the following error while building the unifi-controller-9.5.21. I also get it when trying to build mongodb-ce. The error occurs at the fixupPhase of the unifi-controller.
What can I do to resolve it? | 17:10:47 | |
nix-store --verify --check-contents would be a good start | 17:15:17 | |
| Thanks, I will try it :) | 17:15:47 | |
| There were no errors while verifying, and I still get the same error. | 17:31:26 | |
| 17:59:35 | ||
| 20:38:14 | ||
| 21:29:09 | ||
| 15 Feb 2026 | ||
| Is there a list of attributes available via builtins.getFlake? Docs only mention "outputs and some metadata", and I'm wondering what metadata is included specifically | 09:59:05 | |
| On top of inputs and outputs, you get all the metadata of every input. The common attributes are type, lastModified (and lastModifiedDate), narHash, and then there are type specific attributes like repo and owner for forge types, rev, shortRev for anything git-esque (including forge-specific types), and probably some other ones as well. I don't think there's a specific list anywhere though it's just another one of those things you have to know, or know where to look for them™ | 15:31:38 | |
hmm I was trying to get the git rev from the current flake using getFlake ./., but the result of that contains no rev attribute. Though it seems doing something like this would require an impure build anyway, so not really what I'm looking for | 15:44:12 | |
* hmm I was trying to get the git rev from the current flake using (getFlake (toString ./.)).rev, but the result of that contains no rev attribute. Though it seems doing something like this would require an impure build anyway, so not really what I'm looking for | 15:46:03 | |
Ah, but what you're saying is that this isn't valid syntax to begin with. I only get this rev attribute for the inputs, so e.g. (getFlake (toString ./.)).inputs.nixpkgs.rev would work, but the git rev of the main flake isn't accessible | 15:48:32 | |
| IIRC this kind of attributes is omitted when the worktree is dirty. | 15:50:13 | |
ohhhh turns out I can just get the git rev using self.dirtyRev 😲 | 15:54:21 | |
Yes, and (getFlake ./.) is the same as self pretty much | 15:59:02 | |
| 16:50:28 | ||
| 17:36:25 | ||
| Hi! I am debugging a build reproducability issue, would need some help. In theory it could be possible that it's some input of this derivation that's already poisoned, but in this case I don't see how that could produce this result. Is there a way to tell nix to keep the build and output directories, even if it does not see a diff? Is it perhaps possible that | 21:45:41 | |
| Ah yeah:
| 21:48:12 | |
In this case nix-build --check not checking the actual store contents seems like quite a bit of a footgun... | 21:48:36 | |
--check not checking the store contents is fine unless you have store corruption, which would only happen if your FS/disk or RAM was fucked | 21:52:55 | |