summary refs log tree commit diff
path: root/nixos/modules/system/activation/top-level.nix
diff options
context:
space:
mode:
authorBen Siraphob <bensiraphob@gmail.com>2021-01-25 13:57:48 +0700
committerBen Siraphob <bensiraphob@gmail.com>2021-01-26 10:57:07 +0700
commit1c2a2b0a0848d58407fb4ff73a8dc1e854f5a270 (patch)
tree1bdff74d3f609e78f8931a3f32398062d61db84d /nixos/modules/system/activation/top-level.nix
parentaa8868c7cca8d30706a68a876d048968c83e1cf1 (diff)
downloadnixpkgs-1c2a2b0a0848d58407fb4ff73a8dc1e854f5a270.tar
nixpkgs-1c2a2b0a0848d58407fb4ff73a8dc1e854f5a270.tar.gz
nixpkgs-1c2a2b0a0848d58407fb4ff73a8dc1e854f5a270.tar.bz2
nixpkgs-1c2a2b0a0848d58407fb4ff73a8dc1e854f5a270.tar.lz
nixpkgs-1c2a2b0a0848d58407fb4ff73a8dc1e854f5a270.tar.xz
nixpkgs-1c2a2b0a0848d58407fb4ff73a8dc1e854f5a270.tar.zst
nixpkgs-1c2a2b0a0848d58407fb4ff73a8dc1e854f5a270.zip
treewide: fold -> foldr
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 b0f77ca3fb8..179d35b9b9f 100644
--- a/nixos/modules/system/activation/top-level.nix
+++ b/nixos/modules/system/activation/top-level.nix
@@ -126,7 +126,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;