emacs.pkgs.trivialBuild: generate autoload file
This commit is contained in:
parent
4bfdf5a7b3
commit
133075787b
|
@ -21,6 +21,7 @@ callPackage ./generic.nix envargs ({
|
|||
LISPDIR=$out/share/emacs/site-lisp
|
||||
install -d $LISPDIR
|
||||
install *.el *.elc $LISPDIR
|
||||
emacs --batch -l package --eval "(package-generate-autoloads \"${args.pname}\" \"$LISPDIR\")"
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
|
Loading…
Reference in New Issue
Block a user