mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-23 14:36:16 +02:00
8bbbb6e737
pkgsStatic is apparently considered a cross environment, so checkPhase and installCheckPhase are disabled even when we ask for them.
12 lines
270 B
Bash
12 lines
270 B
Bash
source common.sh
|
|
|
|
set -o pipefail
|
|
|
|
if [[ $BUILD_SHARED_LIBS != 1 ]]; then
|
|
echo "plugins are not supported"
|
|
exit 99
|
|
fi
|
|
|
|
res=$(nix --option setting-set true --option plugin-files $PWD/plugins/libplugintest* eval --expr builtins.anotherNull)
|
|
|
|
[ "$res"x = "nullx" ]
|