boot: fix order of arguments for hasPrefix
(#89751)
This commit is contained in:
parent
a1bdb4dd84
commit
e4f445008e
@ -584,7 +584,7 @@ in
|
|||||||
{ assertion = !config.boot.loader.supportsInitrdSecrets ->
|
{ assertion = !config.boot.loader.supportsInitrdSecrets ->
|
||||||
all (source:
|
all (source:
|
||||||
builtins.isPath source ||
|
builtins.isPath source ||
|
||||||
(builtins.isString source && hasPrefix source builtins.storeDir))
|
(builtins.isString source && hasPrefix builtins.storeDir source))
|
||||||
(attrValues config.boot.initrd.secrets);
|
(attrValues config.boot.initrd.secrets);
|
||||||
message = ''
|
message = ''
|
||||||
boot.loader.initrd.secrets values must be unquoted paths when
|
boot.loader.initrd.secrets values must be unquoted paths when
|
||||||
|
Loading…
x
Reference in New Issue
Block a user