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.
This commit is contained in:
parent
cc84f3906e
commit
46d4bb5d01
|
@ -28,7 +28,7 @@ import ./generic.nix { inherit lib stdenv emacs texinfo writeText; } ({
|
||||||
|
|
||||||
emacs --batch -Q -l ${./elpa2nix.el} \
|
emacs --batch -Q -l ${./elpa2nix.el} \
|
||||||
-f elpa2nix-install-package \
|
-f elpa2nix-install-package \
|
||||||
"${src}" "$out/share/emacs/site-lisp/elpa"
|
"$src" "$out/share/emacs/site-lisp/elpa"
|
||||||
|
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue