mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 16:23:02 +00:00
8bbbb6e737
pkgsStatic is apparently considered a cross environment, so checkPhase and installCheckPhase are disabled even when we ask for them.
13 lines
270 B
Bash
13 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" ]
|