diff --git a/nixos/modules/installer/tools/nixos-rebuild.sh b/nixos/modules/installer/tools/nixos-rebuild.sh index b681a170b6b..ec9dd9b71d4 100644 --- a/nixos/modules/installer/tools/nixos-rebuild.sh +++ b/nixos/modules/installer/tools/nixos-rebuild.sh @@ -268,7 +268,7 @@ fi # Resolve the flake. if [[ -n $flake ]]; then - flake=$(nix flake info --json -- "$flake" | jq -r .uri) + flake=$(nix flake info --json -- "$flake" | jq -r .url) fi # Find configuration.nix and open editor instead of building.