mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 14:52:55 +00:00
34fe2478a2
Co-Authored-By: Qyriad <qyriad@qyriad.me> Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
13 lines
271 B
Bash
Executable File
13 lines
271 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
source common.sh
|
|
|
|
for ext in so dylib; do
|
|
plugin="$PWD/plugins/libplugintest.$ext"
|
|
[[ -f "$plugin" ]] && break
|
|
done
|
|
|
|
res=$(nix --option setting-set true --option plugin-files "$plugin" eval --expr builtins.anotherNull)
|
|
|
|
[ "$res"x = "nullx" ]
|