2
0
Fork 1
mirror of https://github.com/elitak/nixos-infect synced 2025-03-14 13:46:59 +00:00

error in varname PROVIDER

This commit is contained in:
Michael Jenny 2024-11-23 13:30:20 +01:00
parent 5ef3f953d3
commit 453eb934be

View file

@ -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