mirror of
https://github.com/NixOS/nix
synced 2025-07-07 01:51:47 +02:00
Enable/fix tests in nix-static
pkgsStatic is apparently considered a cross environment, so checkPhase and installCheckPhase are disabled even when we ask for them.
This commit is contained in:
parent
f6cf644e5f
commit
8bbbb6e737
6 changed files with 27 additions and 6 deletions
|
@ -2,6 +2,11 @@ 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" ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue