!jtzdZrQSXtEpeGtzAn:nixos.org

Testing with Nix

91 Members
24 Servers

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


SenderMessageTime
27 Oct 2022
@davidak:matrix.org@davidak:matrix.org* the tests did still check every minute, but did not appear on the status monitor and did not send notifications. there was a specific list for them15:21:15
@nbp:mozilla.orgnbp If this is testing using Nix, one thing that is missing (or I am not aware that this was fixed) is that today, Nix needs a special set of environment variables to setup a testing environment.
(see https://github.com/NixOS/nixpkgs/blob/master/lib/tests/release.nix#L20-L34 )
This could be abstracted either with a command-line configuration file for all nix commands, or with a way a new nix tests --init, nix tests run <command running nix tests> or which output the set of environment variables to be used.
15:22:02
@roberthensing:matrix.orgRobert Hensing (roberth)I feel like the always green CI issue has been discussed many times before, but I couldn't find an issue on nixpkgs. A more persistent medium like that may be more productive for this; gather knowledge, coordinating experiments and development.15:26:22
@0x4a6f:matrix.org[0x4A6F] joined the room.15:27:04
@roberthensing:matrix.orgRobert Hensing (roberth) nbp: seems like a valid issue to raise in the nix project 15:28:25
@roberthensing:matrix.orgRobert Hensing (roberth) I don't know if nix tests --init is the right solution, partly because environment variables require a little dance to load into the calling shell 15:29:40
@roberthensing:matrix.orgRobert Hensing (roberth)running Nix inside the sandbox needs better support anyway because of RFC 92, computed derivations15:30:54
@danielbarter:matrix.orgdanielbarter joined the room.15:34:22

Show newer messages


Back to Room ListRoom Version: 9