Skip to content

Commit

Permalink
msys2: hack, don't init the store yet
Browse files Browse the repository at this point in the history
  • Loading branch information
puffnfresh committed Nov 5, 2024
1 parent c13f65c commit 54135f6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/functional/common/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,10 @@ EOF

# Initialise the database.
# The flag itself does nothing, but running the command touches the store
nix-store --init
# Sanity check
test -e "$NIX_STATE_DIR"/db/db.sqlite
if [ "$OSTYPE" != "msys" ]; then
nix-store --init
# Sanity check
test -e "$NIX_STATE_DIR"/db/db.sqlite
fi

fi # !isTestOnNixOS

0 comments on commit 54135f6

Please sign in to comment.