antidote: Use builtins.storeDir (#5182)
This allows the module to work for non-/nix stores.
This commit is contained in:
parent
eb869521cb
commit
179f6acaf7
|
@ -10,7 +10,7 @@ let
|
||||||
'') pluginNames)}");
|
'') pluginNames)}");
|
||||||
|
|
||||||
parseHashId = path:
|
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 {
|
in {
|
||||||
meta.maintainers = [ maintainers.hitsmaxft ];
|
meta.maintainers = [ maintainers.hitsmaxft ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue