nixos/systemd-initrd: fix eval under allowAliases = false

This commit is contained in:
K900
2025-10-20 11:19:41 +03:00
parent d754cb1a27
commit a905b1d8e1
+1 -1
View File
@@ -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 =