From 58b9a13a37691ef282826ab553d165197d6e8695 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Thu, 18 Apr 2024 13:07:38 +0200 Subject: [PATCH] home-manager: fix key store path check for strings fixes https://github.com/Mic92/sops-nix/issues/535 --- modules/home-manager/sops.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/home-manager/sops.nix b/modules/home-manager/sops.nix index 941df43..df92e9b 100644 --- a/modules/home-manager/sops.nix +++ b/modules/home-manager/sops.nix @@ -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; };