mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-25 15:26:17 +02: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.
7 lines
178 B
Bash
7 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" ]
|