Skip to content

Commit 6ac315a

Browse files
authored
Add support for nixos (#492)
1 parent b1bea39 commit 6ac315a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

install.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,14 @@ if command_exists brew; then
183183
exit
184184
fi
185185

186+
# nix
187+
if command_exists nix-shell; then
188+
set -e
189+
printf "Using nix to install sq...\n\n"
190+
191+
nix-shell -p sq
192+
exit
193+
fi
186194

187195
printf "\nCould not find a suitable install mechanism to install sq.\n"
188196
printf "\nVisit https://github.com/neilotoole/sq for more installation options.\n"

0 commit comments

Comments
 (0)