summary refs log tree commit diff
path: root/nixos/modules/system/activation/top-level.nix
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2021-07-27 12:01:20 +0000
committerGitHub <noreply@github.com>2021-07-27 12:01:20 +0000
commit2692c2e4277b0b1b3b01299462f238efccba91e2 (patch)
tree9c186fa1b83585cd1f7f82351b8c8d061bfd6395 /nixos/modules/system/activation/top-level.nix
parent4fc4793298c10b1d648a0f269bc44394d5171c9e (diff)
parent2431a34ffe50eeb382ea4d7f8d3984e9029d6e04 (diff)
downloadnixpkgs-2692c2e4277b0b1b3b01299462f238efccba91e2.tar
nixpkgs-2692c2e4277b0b1b3b01299462f238efccba91e2.tar.gz
nixpkgs-2692c2e4277b0b1b3b01299462f238efccba91e2.tar.bz2
nixpkgs-2692c2e4277b0b1b3b01299462f238efccba91e2.tar.lz
nixpkgs-2692c2e4277b0b1b3b01299462f238efccba91e2.tar.xz
nixpkgs-2692c2e4277b0b1b3b01299462f238efccba91e2.tar.zst
nixpkgs-2692c2e4277b0b1b3b01299462f238efccba91e2.zip
Merge master into staging-next
Diffstat (limited to 'nixos/modules/system/activation/top-level.nix')
-rw-r--r--nixos/modules/system/activation/top-level.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/activation/top-level.nix b/nixos/modules/system/activation/top-level.nix
index 4e2f25cd27f..d3e4923a993 100644
--- a/nixos/modules/system/activation/top-level.nix
+++ b/nixos/modules/system/activation/top-level.nix
@@ -125,7 +125,7 @@ let
     else showWarnings config.warnings baseSystem;
 
   # Replace runtime dependencies
-  system = fold ({ oldDependency, newDependency }: drv:
+  system = foldr ({ oldDependency, newDependency }: drv:
       pkgs.replaceDependency { inherit oldDependency newDependency drv; }
     ) baseSystemAssertWarn config.system.replaceRuntimeDependencies;