mirror of
https://github.com/nix-community/nix-doom-emacs
synced 2025-08-03 12:27:27 -05:00
I've been playing around with a custom home-manager module that extends this one that generates `init.el` programmatically. However, I can't use the `doom.d` folder it generates, because `doomPrivateDir` calls `builtins.path` which fails if given a `/nix/store` path. This PR fixes `doomPrivateDir` to only call `builtins.path` if the given `path` is not already a `/nix/store` path.