From 453eb934be819ac3f2cd437191769e23cd1b45f1 Mon Sep 17 00:00:00 2001 From: Michael Jenny Date: Sat, 23 Nov 2024 13:30:20 +0100 Subject: [PATCH] error in varname PROVIDER --- nixos-infect | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos-infect b/nixos-infect index 06f0171..0f32763 100644 --- a/nixos-infect +++ b/nixos-infect @@ -382,7 +382,7 @@ infect() { /nix/var/nix/profiles/system/bin/switch-to-configuration boot } -if [ ! -v PROVIDER ]; then +if [ ! -v $PROVIDER ]; then autodetectProvider fi