aboutsummaryrefslogtreecommitdiff
path: root/tests/plugins.sh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-11-27 00:05:30 +0100
committerEelco Dolstra <edolstra@gmail.com>2019-11-27 00:05:30 +0100
commitca8caaec5e7581c37b46f79622c81adf52f06314 (patch)
tree0e0693236f221f1d9ac0fba265a01c196396cb6a /tests/plugins.sh
parent2c6dbcd5e7a16227e0aef008c62c81220f4b3ffc (diff)
nix: Add --expr flag
This replaces the '(...)' installable syntax, which is not very discoverable. The downside is that you can't have multiple expressions or mix expressions and other installables.
Diffstat (limited to 'tests/plugins.sh')
-rw-r--r--tests/plugins.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/plugins.sh b/tests/plugins.sh
index 4b1baeddc..50bfaf7e9 100644
--- a/tests/plugins.sh
+++ b/tests/plugins.sh
@@ -2,6 +2,6 @@ source common.sh
set -o pipefail
-res=$(nix eval '(builtins.anotherNull)' --option setting-set true --option plugin-files $PWD/plugins/libplugintest*)
+res=$(nix eval --expr builtins.anotherNull --option setting-set true --option plugin-files $PWD/plugins/libplugintest*)
[ "$res"x = "nullx" ]