From b910fa1b7c1c4e90a0f50fcfbf84cfd3c0ef030e Mon Sep 17 00:00:00 2001 From: Rickard Nilsson Date: Tue, 5 Nov 2024 15:40:38 +0100 Subject: [PATCH] Fix version check in install script --- nix-quick-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix-quick-install.sh b/nix-quick-install.sh index b8e0149..2d69689 100755 --- a/nix-quick-install.sh +++ b/nix-quick-install.sh @@ -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"