lix/tests/plugins.sh

8 lines
151 B
Bash
Raw Normal View History

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