From 25155a02e608fc8a12b75ce82dce147cb7bb8280 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 11 Jun 2012 07:05:15 +0000 Subject: [PATCH] Add findutils dependency for /tmp cleaning. This dependency is only added if the setting is activated. svn path=/nixos/trunk/; revision=34434 --- modules/system/boot/stage-2.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/system/boot/stage-2.nix b/modules/system/boot/stage-2.nix index d1a4e81ce2ca..02c061dacde2 100644 --- a/modules/system/boot/stage-2.nix +++ b/modules/system/boot/stage-2.nix @@ -67,7 +67,7 @@ let pkgs.utillinux pkgs.udev pkgs.sysvtools - ]; + ] ++ pkgs.lib.optional config.boot.cleanTmpDir pkgs.findutils; postBootCommands = pkgs.writeText "local-cmds" '' ${config.boot.postBootCommands}