Nix Hackers | 962 Members | |
| For people hacking on the Nix package manager itself | 204 Servers |
| Sender | Message | Time |
|---|---|---|
| 24 Nov 2024 | ||
| Is
| 11:56:26 | |
In reply to @trofi:matrix.orgI see people keep encountering libgit2 failures: https://github.com/NixOS/nix/issues/11925 | 12:04:20 | |
| 13:11:54 | ||
| * Is
UPDATE: | 16:54:08 | |
In reply to @p14:matrix.orgTry nix build -f . instead. | 21:08:03 | |
In reply to @joerg:thalheim.ioI ended up going this route, thanks! | 21:08:38 | |
| 25 Nov 2024 | ||
In reply to @joerg:thalheim.ioported, but it seems to be not a complete fix | 08:19:32 | |
| not merged yet either | 08:19:39 | |
| 09:59:30 | ||
| 17:57:15 | ||
| 17:58:07 | ||
| emily: check out https://github.com/NixOS/nix/issues/11954 and https://github.com/NixOS/nix/issues/11955 re those CA derivation Nixpkgs PRs btw | 19:09:59 | |
I know finally understand what trofi was doing long ago in mkDerivation, and I agree that's the right thing to do for now | 19:10:24 | |
| I think I have a decent plan for making things optimized in the CA world, but it should wait until after CA stabilization | 19:10:58 | |
| that quasi-derivation stuff makes me think about Ninja validations (probably because I was just talking about them rather than because they're super directly related, but they do involve tweaking build graph semantics), do you know about those? | 19:27:28 | |
| emily: oh I don't know those | 19:28:23 | |
| sounds like a good thing to read about ;) | 19:28:28 | |
| * sounds like a good thing to read about :) | 19:28:32 | |
In reply to @Ericson2314:matrix.orghttps://ninja-build.org/manual.html#validations basically, we could extend the build graph with nodes that you can attach to another node that (a) run after that node's completion and get to use its outputs; (b) don't block the builds of things downstream of that node; but (c) if they fail, the node they're attached to itself is considered to have failed | 19:29:35 | |
| in a world where we split up check phases from main derivations, this would mean that you could run LLVM's tests in parallel with building things that use that LLVM | 19:29:54 | |
| oh interesting point via speculative execution | 19:30:03 | |
| and have it and everything downstream be considered to have failed if the tests fail | 19:30:07 | |
| that's great | 19:30:11 | |
| currently lots of things are blocked on slow tests | 19:30:13 | |
| we could gain a huge amount of parallelization if tests were taken out of the critical path entirely like this | 19:30:24 | |
| for tests I was just thinking "well, depend on the underlying builds at your own risk" | 19:30:33 | |
| but yes this could be used with that | 19:30:40 | |
| yeah, but if you avoid depending on the underlying derivation it still means that tests become a blocking thing :) | 19:30:56 | |
| (this came up in the context of a long discussion about dynamic library stubs / relinking to avoid mass rebuilds from ABI-compatible library changes, https://discourse.nixos.org/t/why-does-the-nixos-infrastructure-have-to-be-hosted-in-a-centralized-way/46789/32 onwards but it's quite long) | 19:31:49 | |
| anyway, +1 to everything that gets rid of the phantom dependencies at the Nix level | 19:32:04 | |