Skip to content

Commit

Permalink
tests: disable alt-store test on Nix 2.21.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ipetkov committed Mar 28, 2024
1 parent ea654c4 commit 8e69360
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions extra-tests/alt-store/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ set -eu
scriptDir=$(dirname "$0")
cd "${scriptDir}"

if [ "nix (Nix) 2.21.0" = "$(nix --version)" ]; then
echo 'skipping test: https://github.com/NixOS/nix/issues/10267'
else
case "$(nix --version)" in
"nix (Nix) 2.21.0" | "nix (Nix) 2.21.1")
echo 'skipping test: https://github.com/NixOS/nix/issues/10267'

*)
nix build .#default --override-input crane ../.. --store $(pwd)/alt-store
fi
esac

0 comments on commit 8e69360

Please sign in to comment.