diff options
author | Nadrieril <Nadrieril@users.noreply.github.com> | 2020-06-07 17:43:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-07 18:43:15 +0200 |
commit | e4f445008e0ecbd69d06ad3f5a5531ee53954b31 (patch) | |
tree | 2dd5195104833b51080801bfe441a33a19f0e1b6 /nixos | |
parent | a1bdb4dd8431ea1c16f569bcc6ac5994f2edff10 (diff) | |
download | nixlib-e4f445008e0ecbd69d06ad3f5a5531ee53954b31.tar nixlib-e4f445008e0ecbd69d06ad3f5a5531ee53954b31.tar.gz nixlib-e4f445008e0ecbd69d06ad3f5a5531ee53954b31.tar.bz2 nixlib-e4f445008e0ecbd69d06ad3f5a5531ee53954b31.tar.lz nixlib-e4f445008e0ecbd69d06ad3f5a5531ee53954b31.tar.xz nixlib-e4f445008e0ecbd69d06ad3f5a5531ee53954b31.tar.zst nixlib-e4f445008e0ecbd69d06ad3f5a5531ee53954b31.zip |
boot: fix order of arguments for `hasPrefix` (#89751)
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/system/boot/stage-1.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/stage-1.nix b/nixos/modules/system/boot/stage-1.nix index 9bf3228d1ad6..d551466f52eb 100644 --- a/nixos/modules/system/boot/stage-1.nix +++ b/nixos/modules/system/boot/stage-1.nix @@ -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 |