nixos/systemd-initrd: fix eval under allowAliases = false
This commit is contained in:
@@ -584,7 +584,7 @@ in
|
||||
]
|
||||
++ jobScripts
|
||||
++ map (c: builtins.removeAttrs c [ "text" ]) (builtins.attrValues cfg.contents)
|
||||
++ lib.optional (pkgs.hostPlatform.libc == "glibc") "${pkgs.glibc}/lib/libnss_files.so.2";
|
||||
++ lib.optional (pkgs.stdenv.hostPlatform.libc == "glibc") "${pkgs.glibc}/lib/libnss_files.so.2";
|
||||
|
||||
targets.initrd.aliases = [ "default.target" ];
|
||||
units =
|
||||
|
||||
Reference in New Issue
Block a user