Skip to content

Commit b31fa82

Browse files
author
arch
committed
add nix check
1 parent 57f905e commit b31fa82

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

contrib/OpenFunscripter/openfunscripter_setup_linux.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ if command -v apt; then
2222
git gcc g++ cmake libmpv-dev libatlas-base-dev
2323
fi
2424

25+
if ! command -v nix; then
26+
echo "This installer require the package manager nix"
27+
exit 1
28+
fi
29+
2530
if [ ! -f ~/.config/nix/nix.conf ]; then
2631
mkdir -p ~/.config/nix
2732
echo "experimental-features = nix-command flakes" > ~/.config/nix/nix.conf

0 commit comments

Comments
 (0)