git.iko.soy/typeable/nixpkgs
on master help sign in
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.

commit46d4bb5d01175feefbe8f3fdaee68701801e9741 authorPeter Jones <pjones@devalot.com> dateWed 30 Jun 2021, 07:49 (5 years ago) parentcc84f39
1 file changed+1−1
pkgs/build-support/emacs/elpa.nix+1−1
pkgs/build-support/emacs/elpa.nix+1−1
@@ -28,7 +28,7 @@ import ./generic.nix { inherit lib stdenv emacs texinfo writeText; } ({
2828
2929 emacs --batch -Q -l ${./elpa2nix.el} \
3030 -f elpa2nix-install-package \
31− "${src}" "$out/share/emacs/site-lisp/elpa"
31+ "$src" "$out/share/emacs/site-lisp/elpa"
3232
3333 runHook postInstall
3434 '';