1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-12 19:05:08 +02:00

Extend verify test to check that repair is supported.

This commit is contained in:
Ben Radford 2023-07-25 13:30:21 +01:00
parent ae0eb7424f
commit 497464f494
No known key found for this signature in database
GPG key ID: 9DF5D4640AB888D5
4 changed files with 37 additions and 16 deletions

View file

@ -7,9 +7,13 @@ requireEnvironment () {
needLocalStore "The test uses --store always so we would just be bypassing the daemon"
}
addConfig () {
echo "$1" >> "$NIX_CONF_DIR/nix.conf"
}
setupConfig () {
echo "require-drop-supplementary-groups = false" >> "$NIX_CONF_DIR"/nix.conf
echo "build-users-group = " >> "$NIX_CONF_DIR"/nix.conf
addConfig "require-drop-supplementary-groups = false"
addConfig "build-users-group = "
}