1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-15 19:23:01 +03:00

use systemdMinimal for udev in initrd

saves 649216 bytes on Potter
This commit is contained in:
Daniel Barlow 2021-05-31 12:05:04 +01:00
parent b4f27af9ce
commit 7aecb4656b

View File

@ -1,12 +1,12 @@
{ config, pkgs, lib, utils, ... }:
let
udev = pkgs.systemdMinimal;
inherit (pkgs)
busybox
makeInitrd
mkExtraUtils
runCommandNoCC
udev
writeText
;
inherit (lib)
@ -168,7 +168,7 @@ let
package = runCommandNoCC "empty" {} "mkdir -p $out";
extraCommand =
let
inherit (pkgs) udev;
inherit udev;
in
''
# Copy udev.