Drop tree-sitter site-dir renaming
CI breaks because the "right" (-9999snapshot) path already exists. Not entirely sure what changed, but Emacs seems to find tree-sitter-langs without this, so drop it.
This commit is contained in:
parent
cfd0a1ad09
commit
6d16fb7c50
1 changed files with 0 additions and 9 deletions
|
|
@ -182,21 +182,12 @@
|
|||
# out: patch that version number to match what nixpkgs put in the grammar bundle.
|
||||
let
|
||||
inherit (esuper.melpaStablePackages.tree-sitter-langs) version;
|
||||
elpaDir = "$out/share/emacs/site-lisp/elpa/";
|
||||
wrongSiteDir = elpaDir + "tree-sitter-langs-${version}";
|
||||
rightSiteDir = elpaDir + "tree-sitter-langs-9999snapshot";
|
||||
in
|
||||
esuper.tree-sitter-langs.overrideAttrs (old: {
|
||||
postPatch = old.postPatch or "" + ''
|
||||
sed -i -e '/defconst tree-sitter-langs--bundle-version/ s/"[0-9.]*"/"${version}"/' \
|
||||
./tree-sitter-langs-build.el
|
||||
'';
|
||||
|
||||
postInstall = old.postInstall or "" + ''
|
||||
mkdir ${rightSiteDir}
|
||||
mv ${wrongSiteDir}/* ${rightSiteDir}/
|
||||
rmdir ${wrongSiteDir}
|
||||
'';
|
||||
});
|
||||
# Fix /build/ leaking into byte-compiled files (patch accepted upstream).
|
||||
phpactor = esuper.phpactor.overrideAttrs (attrs: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue