aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2023-10-02 17:05:54 +0200
committerGitHub <noreply@github.com>2023-10-02 17:05:54 +0200
commitf5f4de6a550327b4b1a06123c2e450f1b92c73b6 (patch)
tree7ac9ce29716f721b28a0a286023bb87c215c9f77 /tests
parent7e2399b12360d267af8dac033c3d0d95a00b874d (diff)
parent72b65981f9590db06558958179bef4dcf733777a (diff)
Merge pull request #9086 from NixOS/backport-9081-to-2.18-maintenance
[Backport 2.18-maintenance] Revert "Adapt scheduler to work with dynamic derivations"
Diffstat (limited to 'tests')
-rw-r--r--tests/dyn-drv/build-built-drv.sh4
-rw-r--r--tests/dyn-drv/dep-built-drv.sh4
2 files changed, 3 insertions, 5 deletions
diff --git a/tests/dyn-drv/build-built-drv.sh b/tests/dyn-drv/build-built-drv.sh
index 94f3550bd..647be9457 100644
--- a/tests/dyn-drv/build-built-drv.sh
+++ b/tests/dyn-drv/build-built-drv.sh
@@ -18,6 +18,4 @@ clearStore
drvDep=$(nix-instantiate ./text-hashed-output.nix -A producingDrv)
-out2=$(nix build "${drvDep}^out^out" --no-link)
-
-test $out1 == $out2
+expectStderr 1 nix build "${drvDep}^out^out" --no-link | grepQuiet "Building dynamic derivations in one shot is not yet implemented"
diff --git a/tests/dyn-drv/dep-built-drv.sh b/tests/dyn-drv/dep-built-drv.sh
index c3daf2c59..4f6e9b080 100644
--- a/tests/dyn-drv/dep-built-drv.sh
+++ b/tests/dyn-drv/dep-built-drv.sh
@@ -6,6 +6,6 @@ out1=$(nix-build ./text-hashed-output.nix -A hello --no-out-link)
clearStore
-out2=$(nix-build ./text-hashed-output.nix -A wrapper --no-out-link)
+expectStderr 1 nix-build ./text-hashed-output.nix -A wrapper --no-out-link | grepQuiet "Building dynamic derivations in one shot is not yet implemented"
-diff -r $out1 $out2
+# diff -r $out1 $out2