antidote: Use builtins.storeDir (#5182)

This allows the module to work for non-/nix stores.
This commit is contained in:
Graham Bennett 2024-03-27 15:45:49 +00:00 committed by GitHub
parent eb869521cb
commit 179f6acaf7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ let
'') pluginNames)}");
parseHashId = path:
elemAt (builtins.match "/nix/store/([a-zA-Z0-9]+)-.*" path) 0;
elemAt (builtins.match "${builtins.storeDir}/([a-zA-Z0-9]+)-.*" path) 0;
in {
meta.maintainers = [ maintainers.hitsmaxft ];