mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-25 07:16:17 +02:00
9f39dda66c
I don't love the way this code looks. There are two larger problems: - eval, build/scratch, destination stores (#5025) should have different types to reflect the fact that they are used for different purposes and those purposes correspond to different operations. It should be impossible to "use the wrong store" in my cases. - Since drvs can end up in both the eval and build/scratch store, we should have some sort of union/layered store (not on the file sytem level, just conceptual level) that allows accessing both. This would get rid of the ugly "check both" boilerplate in this PR. Still, it might be better to land this now / soon after minimal cleanup, so we have a concrete idea of what problem better abstractions are supposed to solve.
10 lines
169 B
Bash
10 lines
169 B
Bash
#!/usr/bin/env bash
|
|
|
|
# Ensure that garbage collection works properly with ca derivations
|
|
|
|
source common.sh
|
|
|
|
export NIX_TESTS_CA_BY_DEFAULT=1
|
|
|
|
cd ..
|
|
source eval-store.sh
|