about summary refs log tree commit diff
path: root/pkgs/build-support/emacs
diff options
context:
space:
mode:
authorPeter Jones <pjones@devalot.com>2021-06-30 07:49:08 -0700
committerPeter Jones <pjones@devalot.com>2021-06-30 07:54:11 -0700
commit46d4bb5d01175feefbe8f3fdaee68701801e9741 (patch)
treed00e10b171dfbdaa2d51ec9494b1e209ed0a884b /pkgs/build-support/emacs
parentcc84f3906e1386fd4008e78130566c96776ba44e (diff)
elpaBuild: Delay src evaluation so it can be overridden
This change allows ELPA packages to have their src attribute updated
by overrideAttrs.  Without this change the installPhase references the
original src attribute and overriding is not possible.
Diffstat (limited to 'pkgs/build-support/emacs')
-rw-r--r--pkgs/build-support/emacs/elpa.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/emacs/elpa.nix b/pkgs/build-support/emacs/elpa.nix
index 41a0670d0c847..61960ed22c6c3 100644
--- a/pkgs/build-support/emacs/elpa.nix
+++ b/pkgs/build-support/emacs/elpa.nix
@@ -28,7 +28,7 @@ import ./generic.nix { inherit lib stdenv emacs texinfo writeText; } ({
 
     emacs --batch -Q -l ${./elpa2nix.el} \
         -f elpa2nix-install-package \
-        "${src}" "$out/share/emacs/site-lisp/elpa"
+        "$src" "$out/share/emacs/site-lisp/elpa"
 
     runHook postInstall
   '';