mirror of
https://github.com/Mic92/sops-nix.git
synced 2025-12-26 14:14:58 +08:00
home-manager: fix key store path check for strings
fixes https://github.com/Mic92/sops-nix/issues/535
This commit is contained in:
parent
a9795d1959
commit
58b9a13a37
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ let
|
|||
name = "pathNotInStore";
|
||||
description = "path not in the Nix store";
|
||||
descriptionClass = "noun";
|
||||
check = x: !lib.path.hasStorePathPrefix x;
|
||||
check = x: !lib.path.hasStorePathPrefix (/. + x);
|
||||
merge = lib.mergeEqualOption;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue