Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

Commit

Permalink
boot: fix order of arguments for hasPrefix (#89751)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nadrieril committed Jun 7, 2020
1 parent a1bdb4d commit e4f4450
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/system/boot/stage-1.nix
Expand Up @@ -584,7 +584,7 @@ in
{ assertion = !config.boot.loader.supportsInitrdSecrets ->
all (source:
builtins.isPath source ||
(builtins.isString source && hasPrefix source builtins.storeDir))
(builtins.isString source && hasPrefix builtins.storeDir source))
(attrValues config.boot.initrd.secrets);
message = ''
boot.loader.initrd.secrets values must be unquoted paths when
Expand Down

0 comments on commit e4f4450

Please sign in to comment.