1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2025-01-08 12:48:50 +03:00

modules/initrd: Rename "null" initrd replacement workaround

This commit is contained in:
Samuel Dionne-Riel 2022-05-27 18:23:58 -04:00
parent 90200f11f6
commit 81791a42a2

View File

@ -350,7 +350,7 @@ in
# default NixOS outputs. Do not refer to this in Mobile NixOS.
system.build.initialRamdisk =
if config.mobile.rootfs.shared.enabled
then pkgs.runCommandNoCC "dummy" {} "touch $out"
then pkgs.runCommandNoCC "nullInitialRamdisk" {} "touch $out"
else initrd
;