mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-24 14:56:15 +02:00
34fe2478a2
Co-Authored-By: Qyriad <qyriad@qyriad.me> Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
12 lines
271 B
Bash
Executable file
12 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" ]
|