diff options
Diffstat (limited to '')
-rw-r--r-- | overlays/base/default.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/overlays/base/default.nix b/overlays/base/default.nix index 03d5799..5a9efb2 100644 --- a/overlays/base/default.nix +++ b/overlays/base/default.nix @@ -80,4 +80,12 @@ final: prev: mpv = prev.wrapMpv prev.mpv-unwrapped { scripts = [ prev.mpvScripts.mpris ]; }; + + emacs = (prev.symlinkJoin { + inherit (prev.emacs) name; + inherit (prev.emacs) version; + paths = [ prev.emacs ]; + nativeBuildInputs = [ prev.makeBinaryWrapper ]; + postBuild = "wrapProgram $out/bin/emacs --prefix PATH : ${prev.lib.makeBinPath [ prev.nodejs prev.ripgrep ]}"; + }); } |