aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/dyn-drv/old-daemon-error-hack.sh
blob: 43b049973964acda135d4b34f56efe3efb8fa391 (plain)
1
2
3
4
5
6
7
8
9
10
11
# Purposely bypassing our usual common for this subgroup
source ../common.sh

# Need backend to support text-hashing too
isDaemonNewer "2.18.0pre20230906" && skipTest "Daemon is too new"

enableFeatures "ca-derivations dynamic-derivations"

restartDaemon

expectStderr 1 nix-instantiate --read-write-mode ./old-daemon-error-hack.nix | grepQuiet "the daemon is too old to understand dependencies on dynamic derivations"