!jtzdZrQSXtEpeGtzAn:nixos.org

Testing with Nix

95 Members
24 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
16 Oct 2023
@vengmark2:matrix.orgl0b0 It's checking that my configuration conforms to best practices as recommended by ssh-audit. I'm no SSH/security expert, but at least some of the recommendations make sense. 07:49:19
@vengmark2:matrix.orgl0b0It might be useful as a demo for what could be considered a secure configuration (at least by some segment of users) "right now", rather than just using the OpenSSH defaults like NixOS does.07:50:41
@vengmark2:matrix.orgl0b0Just waiting for a giant 23.05 upgrade (for some reason), will have a look afterwards.07:51:16
@vengmark2:matrix.orgl0b0 * It's checking that my configuration conforms to best practices as recommended by ssh-audit. I'm no SSH/security expert, but at least some of the recommendations (like not allowing SHA-1 algos) make sense. 07:51:46
@artturin:matrix.orgArtturin
In reply to @vengmark2:matrix.org
Just waiting for a giant 23.05 upgrade (for some reason), will have a look afterwards.
staging-next-23.05 was merged a few days ago with security fixes (curl etc)
07:53:54
@vengmark2:matrix.orgl0b0https://github.com/NixOS/nixpkgs/pull/261356 - a bit quick, but I gotta sleep.08:57:20
18 Oct 2023
@ultra:beeper.comAlex S changed their display name from ultra (NixOS integrated with PackageKit wen) to Alex S.10:00:58
23 Oct 2023
@raitobezarius:matrix.orgraitobezariusI'm adopting https://github.com/NixOS/nixpkgs/pull/157161/files12:48:35
@raitobezarius:matrix.orgraitobezariusto try to get it sync with the timeout PR12:48:43
@raitobezarius:matrix.orgraitobezariusso we can have super nice tests12:48:46
@raitobezarius:matrix.orgraitobezarius nikstur: help me 12:51:07
@raitobezarius:matrix.orgraitobezariusand get blitz to help me too12:51:16
24 Oct 2023
@raitobezarius:matrix.orgraitobezarius Robert Hensing (roberth): I see that you recommended testBuildFailure but it relies on drv.overrideAttrs to perform the inversion of success internally 01:00:50
@raitobezarius:matrix.orgraitobezariusThe issue is that you also introduced lib.lazyDerivation for the test itself01:00:59
@raitobezarius:matrix.orgraitobezarius So if I do something like testBuildFailure (runTest ./timeout.nix) I will be in trouble 01:01:12
@raitobezarius:matrix.orgraitobezarius * So if I do something like testBuildFailure (callTest (runTest ./timeout.nix)) I will be in trouble 01:01:20
@raitobezarius:matrix.orgraitobezariusBecause lazyDerivation never offers overrideAttrs I suppose01:01:29
@raitobezarius:matrix.orgraitobezariusand I'm not so sure about01:02:24
@raitobezarius:matrix.orgraitobezarius(a) adding overrideAttrs to lazyDerivation01:02:29
@raitobezarius:matrix.orgraitobezarius(b) making lazyDerivation overridable01:02:33
@raitobezarius:matrix.orgraitobezarius(c) removing lazyDerivation from test01:02:37
@raitobezarius:matrix.orgraitobezariusI feel like this defeat the whole purpose of lazyDerivation to override it01:03:31

Show newer messages


Back to Room ListRoom Version: 9