aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2022-05-12 20:10:02 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2022-05-12 20:10:02 +0000
commit49ad315c0357116787ef45a1249009b6bc00301f (patch)
tree30fe74db8018feab10f2cd4616c91d605bbd93a0 /tests
parentb18720ee175d6c019be964955efc1633be1c434d (diff)
Use `^` not `!` in indexed store derivations installable syntax
Match the other syntax that was recently added
Diffstat (limited to 'tests')
-rw-r--r--tests/build-explicit-output.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/build-explicit-output.sh b/tests/build-explicit-output.sh
index 0f2f428db..68fd2f128 100644
--- a/tests/build-explicit-output.sh
+++ b/tests/build-explicit-output.sh
@@ -4,11 +4,11 @@ enableFeatures "computed-derivations"
restartDaemon
drv=$(nix eval -f multiple-outputs.nix --raw a.drvPath)
-if nix build "$drv!not-an-output" --json; then
+if nix build "$drv^not-an-output" --json; then
fail "'not-an-output' should fail to build"
fi
-nix build "$drv!first" --json | jq --exit-status '
+nix build "$drv^first" --json | jq --exit-status '
(.[0] |
(.drvPath | match(".*multiple-outputs-a.drv")) and
(.outputs |