From 94a906b59a7c73f6a0b6ef120f89ee0f927f0dc9 Mon Sep 17 00:00:00 2001 From: Matt McHenry Date: Tue, 21 Aug 2018 21:39:27 -0400 Subject: systemd: ensure fsck Requires/After links are created in mount units systemd-fsck-generator only produces these lines if it can find the necessary fsck executable in its PATH. fixes #29139. --- nixos/modules/system/boot/stage-2.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'nixos/modules/system/boot/stage-2.nix') diff --git a/nixos/modules/system/boot/stage-2.nix b/nixos/modules/system/boot/stage-2.nix index 9fd89b6319d..55e6b19c67f 100644 --- a/nixos/modules/system/boot/stage-2.nix +++ b/nixos/modules/system/boot/stage-2.nix @@ -17,6 +17,7 @@ let pkgs.utillinux pkgs.openresolv ]; + fsPackagesPath = lib.makeBinPath config.system.fsPackages; postBootCommands = pkgs.writeText "local-cmds" '' ${config.boot.postBootCommands} -- cgit 1.4.1