diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-11-27 00:05:30 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2019-11-27 00:05:30 +0100 |
commit | ca8caaec5e7581c37b46f79622c81adf52f06314 (patch) | |
tree | 0e0693236f221f1d9ac0fba265a01c196396cb6a /tests/plugins.sh | |
parent | 2c6dbcd5e7a16227e0aef008c62c81220f4b3ffc (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.sh | 2 |
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" ] |