lix/tests/plugins.sh
2018-02-13 14:43:32 -05:00

8 lines
175 B
Bash

source common.sh
set -o pipefail
res=$(nix eval '(builtins.anotherNull)' --option setting-set true --option plugin-files $PWD/plugins/libplugintest*)
[ "$res"x = "nullx" ]