1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-24 02:39:48 +01:00

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

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 ];