diff options
author | Kenny Ballou <kb@devnulllabs.io> | 2021-04-17 17:43:06 -0600 |
---|---|---|
committer | Kenny Ballou <kb@devnulllabs.io> | 2021-04-17 17:43:06 -0600 |
commit | 139cc204f09dae7bf621d79dfdf071686cef9807 (patch) | |
tree | 0de88abfd93275654359def7c251f0c584942cd2 /overlays | |
parent | 2c3c358b04e49331722c2f85a913c36940a563a6 (diff) | |
download | dotfiles-139cc204f09dae7bf621d79dfdf071686cef9807.tar.gz dotfiles-139cc204f09dae7bf621d79dfdf071686cef9807.tar.xz |
overlays: emacs: update elisp builder from jwiegley
Signed-off-by: Kenny Ballou <kb@devnulllabs.io>
Diffstat (limited to 'overlays')
-rw-r--r-- | overlays/emacs/builders/elisp.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/overlays/emacs/builders/elisp.nix b/overlays/emacs/builders/elisp.nix index 871bffba..90adea0f 100644 --- a/overlays/emacs/builders/elisp.nix +++ b/overlays/emacs/builders/elisp.nix @@ -1,4 +1,4 @@ -# https://github.com/jwiegley/nix-config/blob/4d296ad/overlays/emacs/builder.nix +# https://github.com/jwiegley/nix-config/blob/ba43753/overlays/emacs/builder.nix { stdenv , pkgs , emacs @@ -17,6 +17,11 @@ stdenv.mkDerivation { buildInputs = [ emacs ] ++ buildInputs; buildPhase = '' ${preBuild} + ARGS=$(find ${pkgs.lib.concatStrings + (builtins.map (arg: arg + "/share/emacs/site-lisp ") buildInputs)} \ + -type d -exec echo -L {} \;) + mkdir $out + export HOME=$out ${emacs}/bin/emacs -Q -nw -L . --batch -f batch-byte-compile *.el ''; installPhase = '' |