From 0b27683ec932e0b2efaf7bd509573b1588ff23d8 Mon Sep 17 00:00:00 2001 From: Baitinq Date: Sat, 2 Mar 2024 01:15:58 +0100 Subject: Overlays: Base: Add emacs with runtime deps to overlay --- overlays/base/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'overlays/base/default.nix') 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 ]}"; + }); } -- cgit 1.4.1