From c62e6901a9e8b65b995b74eb970bc8340debfb0a Mon Sep 17 00:00:00 2001 From: Wroclaw Date: Thu, 20 Jun 2024 21:11:24 +0200 Subject: [PATCH] pkgs/nixos-rebuild: fix typo --- pkgs/by-name/ni/nixos-rebuild/nixos-rebuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/ni/nixos-rebuild/nixos-rebuild.sh b/pkgs/by-name/ni/nixos-rebuild/nixos-rebuild.sh index ac00f3d..5cfff7a 100755 --- a/pkgs/by-name/ni/nixos-rebuild/nixos-rebuild.sh +++ b/pkgs/by-name/ni/nixos-rebuild/nixos-rebuild.sh @@ -454,7 +454,7 @@ trap cleanup EXIT # Re-execute nixos-rebuild from the Nixpkgs tree. if [[ -z $_NIXOS_REBUILD_REEXEC && -n $canRun && -z $fast ]]; then if [[ -z $buildingAttribute ]]; then - p=$(runCmd nix-build --no-out-link $buildFile -A "${$attr:+$attr.}config.system.build.nixos-rebuild" "${extraBuildFlags[@]}") + p=$(runCmd nix-build --no-out-link $buildFile -A "${attr:+$attr.}config.system.build.nixos-rebuild" "${extraBuildFlags[@]}") SHOULD_REEXEC=1 elif [[ -z $flake ]]; then if p=$(runCmd nix-build --no-out-link --expr 'with import {}; config.system.build.nixos-rebuild' "${extraBuildFlags[@]}"); then