1
0
Fork 0
mirror of https://github.com/Mic92/sops-nix.git synced 2024-12-14 11:57:52 +00:00

home-manager: fix key store path check for strings

fixes https://github.com/Mic92/sops-nix/issues/535
This commit is contained in:
Jörg Thalheim 2024-04-18 13:07:38 +02:00 committed by Jörg Thalheim
parent a9795d1959
commit 58b9a13a37

View file

@ -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;
};