mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 23:02:27 +00:00
98d1b64400
This is technically a breaking change, since attempting to set plugin files after the first non-flag argument will now throw an error. This is acceptable given the relative lack of stability in a plugin interface and the need to tie the knot somewhere once plugins can actually define new subcommands.
8 lines
178 B
Bash
8 lines
178 B
Bash
source common.sh
|
|
|
|
set -o pipefail
|
|
|
|
res=$(nix --option setting-set true --option plugin-files $PWD/plugins/libplugintest* eval --expr builtins.anotherNull)
|
|
|
|
[ "$res"x = "nullx" ]
|