Nix Hackers | 894 Members | |
| For people hacking on the Nix package manager itself | 191 Servers |
| Sender | Message | Time |
|---|---|---|
| 4 Feb 2025 | ||
| Has new tests, so that's helpful, but a bit scary. Just learned about new regressions, so I'll be looking into those first | 11:31:09 | |
| Can we get https://github.com/NixOS/nix/pull/12391 in and backported to fix nix updates for renovate from the tooling side? | 12:43:27 | |
| 5 Feb 2025 | ||
| 15:24:26 | ||
| 6 Feb 2025 | ||
| 12:02:34 | ||
| 17:47:59 | ||
| 19:52:51 | ||
| 7 Feb 2025 | ||
| 17:32:39 | ||
| 22:27:57 | ||
| 8 Feb 2025 | ||
| 05:44:11 | ||
| 10:06:09 | ||
| Redacted or Malformed Event | 11:25:49 | |
| So I was trying to get nix running on freebsd (inside kvm/qemu) and failing. The port (https://cgit.freebsd.org/ports/tree/sysutils/nix) doesn't compile (it uses an old version of nix and I don't know how to update it). Is there some way to do this that I am missing? If there isn't then the cross-compilation is illusory and there's not actually freebsd support | 11:28:37 | |
Download Screenshot_20250208_112612.png | 11:28:44 | |
| Is it trying to load curl perhaps? | 13:29:00 | |
Curl is installed, I have installed wget now and tried again and that also failed, I can't find what version of openssl is installed (if it is that) but there's definitely a /usr/lib/libssl.so file installed | 13:48:23 | |
| How did you get the cross-compiled binary on your FreeBSD system? | 13:50:27 | |
nix copy nixpkgs#pkgCross.x86_64-freebsd.nix --no-check-sigs into a shared folder then from freebsd cp into /nix/store | 13:53:52 | |
| That should be the correct way to do it since all dependencies are in the store too, so something is broken. | 13:55:04 | |
| That said I'm not sure the error message refers to a shared library actually missing, it could just as well be some configuration or CA certificate file. | 13:56:54 | |
| 9 Feb 2025 | ||
| 07:41:18 | ||
| hi, i was wondering if it was:
| 10:39:30 | |
| 14:43:19 | ||
| 14:43:29 | ||
| 14:47:57 | ||
I like the idea. I think an important next question is whether we want to use an equivalence of basically whole fetchTree calls (including the type) or just the interchangeability of git remotes, or both.The latter, multiple git remotes, seems like something that could be readily implemented, and without harming a broader fetchTree-level solution. It might become technically redundant, but then it would still provide a nice syntax that's easy to desugar (and if it's not, that means we had good reason to support both). | 15:09:04 | |
| 15:41:40 | ||
| https://git.lix.systems/lix-project/lix/issues/444 semi related. i can't really say what the signal is from lix on such a feature request other than "I'm not porting it myself and there's practically not a single active developer who wants to touch flakes because they're a pit of despair". so absent someone caring about this feature enough to add it, it's going to become a lix-cppnix divergence. Currently there is indeed probably no way to implement this in nix language today because I'm expecting the error thrown by failed fetchTree calls to be fatal. However this can be implemented today via import from derivation of pkgs.fetchurl which i think has mirror fallbacks, right? | 18:22:58 | |
| btw for this kind of thing where it will become an implementation divergence in exposed api, i think it would be beneficial if something like https://www.chromium.org/blink/launching-features/ were implemented such that we don't implement things like builtins.convertHash without feedback from other implementations (who, in the case of lix are never going to implement convertHash because its api design is a compatibility hazard if new hash types are introduced without a mechanism like builtins.features existing https://git.lix.systems/lix-project/lix/issues/607) | 18:30:01 | |
| 10 Feb 2025 | ||
| I do care enough about this feature to add it. I'll probably go with the "multiple git remotes" solution first because it seems relatively simple (you don't have to deal with different source types, and also this would be my first contribution to Nix) and try for a fetchTree solution afterwards | 02:12:46 | |
| I think the way nix 2.26 is packaged in nixpkgs probably needs some changes. As far as I can tell, there's no way to override it e.g. to add a patch. I think this is a pretty ordinary use case. | 08:11:50 | |