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:
parent
eb869521cb
commit
179f6acaf7
1 changed files with 1 additions and 1 deletions
|
@ -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 ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue