!djTaTBQyWEPRQxrPTb:nixos.org

Nixpkgs Architecture Team

219 Members
https://github.com/nixpkgs-architecture, weekly public meetings on Wednesday 15:00-16:00 UTC at https://meet.jit.si/nixpkgs-architecture54 Servers

Load older messages


SenderMessageTime
15 Jan 2025
@ss:someonex.netSomeoneSerge (Ever OOMed by Element) changed their display name from SomeoneSerge (utc+3) to SomeoneSerge.19:02:41
16 Jan 2025
@fliegendewurst:matrix.orgFliegendeWurst joined the room.09:38:55
@lucasew:matrix.orgLucas Eduardointeresting nixpkgs-vet only reports an error in ratchet if the error was introduced by the change if the error appeared in base and main has changed in a way that it didn't change the error state it will not raise a failure like if you change code that is in tree of a top level with lib, the bad state is already there so if someone touches that code in any way it will not be reported it will only report if the issue wasn't happening on that file and the change introduced it interesting18:22:17
@lucasew:matrix.orgLucas Eduardo* interesting nixpkgs-vet only reports an error in ratchet if the error was introduced by the change if the error appeared in base and main has changed in a way that it didn't change the error state it will not raise a failure like if you change code that is in tree of a top level with lib, the bad state is already there so if someone touches that code in any way it will not be reported it will only report if the issue wasn't happening on that file and the change introduced it 18:22:26
@lucasew:matrix.orgLucas Eduardoactually what I wanted was for it to notify about the error if any code inside a top level with is changed, but if it's not necessary it's fine by me18:24:31
@qyliss:fairydust.spaceAlyssa Rossthat sounds like it would be extemely annoying to anybody making changes that are not refactorings19:35:35
@emilazy:matrix.orgemilythat's not really a ratchet check then is it?20:07:00
@emilazy:matrix.orgemilya ratchet is about ensuring that instances of a pattern can only monotonically decrease rather than increase20:07:18
@emilazy:matrix.orgemilyyour proposal would make it impossible to do treewide refactorings because every time you remove bad pattern X across the tree the linter complains that you didn't fix bad pattern Y :)20:07:55
17 Jan 2025
@lucasew:matrix.orgLucas EduardoFair enough 20:31:45
@lucasew:matrix.orgLucas EduardoSo the way it is it's better 20:31:54
@lucasew:matrix.orgLucas EduardoRight now it will only fail if a file that didn't have the problem started having 20:32:48
18 Jan 2025
@infinisil:matrix.orginfinisilMy vision for nixpkgs-vet is that is also starts being able to automatically migrate deprecated patterns21:06:17
19 Jan 2025
@weethet:catgirl.cloudWeetHetWhy 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
@emilazy:matrix.orgemilyyes in principle, but many technical issues14:55:35
@emilazy:matrix.orgemilyintermediates can be huge, for one thing14:56:38
@emilazy:matrix.orgemily installCheckPhase is easier to factor like this 14:56:38
@weethet:catgirl.cloudWeetHetSome derivations take 1h+ to build and debugging checkPhase is basically impossible15:04:14
@weethet:catgirl.cloudWeetHet 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:catgirl.cloudWeetHet * 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
@rosscomputerguy:matrix.orgTristan 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:catgirl.cloudWeetHetThe environment isn't preserved though15:07:41
@rosscomputerguy:matrix.orgTristan Ross
In reply to @weethet:catgirl.cloud
The environment isn't preserved though
It saves the environmental variablesĀ 
15:08:20
@rosscomputerguy:matrix.orgTristan Ross You can source those 15:08:28
@weethet:catgirl.cloudWeetHetWait it does?15:08:44
@rosscomputerguy:matrix.orgTristan Ross Yes 15:08:51
@emilazy:matrix.orgemilywhat would you do to debug/fix it that wouldn't change the original derivation anyway?15:08:57
@rosscomputerguy:matrix.orgTristan Ross env-vars is the fileĀ  15:09:10
@weethet:catgirl.cloudWeetHetSkipping tests that require network/flaky tests15:09:33
@weethet:catgirl.cloudWeetHetTo be fair, it's probably a non-issue when you have something like crate2nix15:10:33

Show newer messages


Back to Room ListRoom Version: 9