Skip to content

Commit

Permalink
fix(nix): fix version check for 1.x versions
Browse files Browse the repository at this point in the history
  • Loading branch information
sandydoo committed Aug 6, 2024
1 parent 8a15e16 commit 363d8aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/usr/local/containerbase/tools/v2/nix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function install_tool() {

arch=$(uname -m)

if [[ ${MAJOR} -eq 2 && ${MINOR} -lt 24 ]]; then
if [[ ${MAJOR} -lt 2 || (${MAJOR} -eq 2 && ${MINOR} -lt 24) ]]; then
build_path="buildStatic.${arch}-linux"
else
build_path="buildStatic.nix.${arch}-linux"
Expand Down

0 comments on commit 363d8aa

Please sign in to comment.