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:
parent
b4f27af9ce
commit
7aecb4656b
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user