tests: run flake-info in sandbox

Don't use sandboxing in Cirrus CI where namespace support is missing.
This commit is contained in:
Erik Arvstedt 2022-09-23 09:03:58 +02:00
parent d3b7e8c432
commit 277510c7ee
No known key found for this signature in database
GPG key ID: 33312B944DD97846
2 changed files with 45 additions and 2 deletions

View file

@ -286,8 +286,7 @@ nixosSearch() {
# Add gcroots for flake-info
nix build "$scriptDir/nixos-search#flake-info" -o "$outLinkPrefix-flake-info"
fi
echo "Running flake-info (nixos-search)"
nix run "$scriptDir/nixos-search#flake-info" -- flake "$scriptDir/.."
"$scriptDir/nixos-search/flake-info-sandboxed.sh"
}
# A basic subset of tests to keep the total runtime within