Skip to content

Commit

Permalink
Fix version check in install script
Browse files Browse the repository at this point in the history
  • Loading branch information
rickynils committed Nov 5, 2024
1 parent c69d218 commit b910fa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nix-quick-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ done

# Install nix in profile
MANPATH= . "$nix/etc/profile.d/nix.sh"
if vergt "$NIX_VERSION" "2.3"; then
if vergt "$NIX_VERSION" "2.4"; then
"$nix/bin/nix-env" -i "$nix"
else
"$nix/bin/nix-env" --option sandbox false -i "$nix"
Expand Down

0 comments on commit b910fa1

Please sign in to comment.