mirror of
https://github.com/NixOS/nix.git
synced 2024-11-26 00:32:28 +00:00
Test the garbage collection of CA derivations
Simple test to ensure that `nix-build && nix-collect-garbage && nix-build -j0` works as it should
This commit is contained in:
parent
263f6dbd1c
commit
be1b5c4e59
@ -48,6 +48,10 @@ testCutoff () {
|
||||
testGC () {
|
||||
nix-instantiate --experimental-features ca-derivations ./content-addressed.nix -A rootCA --arg seed 5
|
||||
nix-collect-garbage --experimental-features ca-derivations --option keep-derivations true
|
||||
clearStore
|
||||
buildAttr rootCA 1 --out-link $TEST_ROOT/rootCA
|
||||
nix-collect-garbage --experimental-features ca-derivations
|
||||
buildAttr rootCA 1 -j0
|
||||
}
|
||||
|
||||
testNixCommand () {
|
||||
|
Loading…
Reference in New Issue
Block a user