| 17 Jan 2025 |
Lucas Eduardo | Fair enough | 20:31:45 |
Lucas Eduardo | So the way it is it's better | 20:31:54 |
Lucas Eduardo | Right now it will only fail if a file that didn't have the problem started having | 20:32:48 |
| 18 Jan 2025 |
infinisil | My vision for nixpkgs-vet is that is also starts being able to automatically migrate deprecated patterns | 21:06:17 |
| 19 Jan 2025 |
WeetHet | Why is checkPhase a part of the derivation build process? It feels like having another derivation which is being fed with the intermediates of the package derivation so disabling/experimenting with tests wouldn't require rebuilding the derivation is a better idea? | 14:39:14 |
emily | yes in principle, but many technical issues | 14:55:35 |
emily | intermediates can be huge, for one thing | 14:56:38 |
emily | installCheckPhase is easier to factor like this | 14:56:38 |
WeetHet | Some derivations take 1h+ to build and debugging checkPhase is basically impossible | 15:04:14 |
WeetHet | I can probably run nix develop and execute phases yourself but it's a pain and I would rather prefer that I don't | 15:05:29 |
WeetHet | * I can probably run nix develop and execute phases myself but it's a pain and I would rather prefer that I don't | 15:05:57 |
Tristan Ross | You can use the --keep-failed flag and then try debugging it through the tmp directory it put the build in. | 15:06:32 |
WeetHet | The environment isn't preserved though | 15:07:41 |
Tristan Ross | In reply to @weethet:catgirl.cloud The environment isn't preserved though It saves the environmental variables | 15:08:20 |
Tristan Ross | You can source those | 15:08:28 |
WeetHet | Wait it does? | 15:08:44 |
Tristan Ross | Yes | 15:08:51 |
emily | what would you do to debug/fix it that wouldn't change the original derivation anyway? | 15:08:57 |
Tristan Ross | env-vars is the file | 15:09:10 |
WeetHet | Skipping tests that require network/flaky tests | 15:09:33 |
WeetHet | To be fair, it's probably a non-issue when you have something like crate2nix | 15:10:33 |
WeetHet | * To be fair, it's probably a non-issue when you have something like crate2nix, since rebuilds don't take that much | 15:10:44 |
emily | fair enough | 15:11:04 |
WeetHet | I still wish there was a way to make each phase it's own derivation without needing to copy the build folder ten times | 15:11:47 |
WeetHet | * I still wish there was a way to make each phase its own derivation without needing to copy the build folder ten times | 15:11:53 |
emily | yes, it would be good. it requires much more fundamental changes than Nixpkgs can do though | 15:13:04 |
WeetHet | On the other hand, again, copying isn't such a big deal with modern CoW filesystems | 15:14:42 |
emily | it would go from not in the store to in the store, so usually you wouldn't be able to CoW | 15:19:19 |
emily | (even when you have /nix/tmp and /nix/store on the same backing partition, there are technical reasons related to the bind mount stuff why it doesn't actually work on Linux) | 15:19:43 |
| 22 Jan 2025 |
| Gaétan Lepage joined the room. | 11:15:29 |