Commit graph

7 commits

Author SHA1 Message Date
Marien Zwart
c8011f8f10
Partially fix tree-sitter-langs
tree-sitter-langs has special handling in nixpkgs, and our pinning
breaks assumptions it makes about version numbers. This causes
tree-sitter-langs to attempt to download and write a grammar bundle both
at build time (where the network request fails) and runtime (where it
causes an error on visiting a file supposed to be handled by
tree-sitter).

Fix up our derivation so it loads the Nix-provided grammar bundle.

This only partially fixes the problem: at least for Go, the
tree-sitter-langs package now loads, but visiting a Go file causes
`tsc-lang-abi-too-new 14 (13 . 13)`.

The included test fails without the fix in this commit, but does not
trigger this new failure.

Commit this partial fix because after
nixos/nixpkgs@2421239d66 the build-time
failure became an error. This should fix CI and leave us no worse off
than before.
2024-08-26 22:02:07 +10:00
Marien Zwart
fa6fe4cf93
Load non-packages.el autoloads
We were only pulling in autoloads files for packages installed via
packages.el. This was not that noticeable because all pinned packages
without custom derivations end up installed that way, but it does affect
extra packages (including the one pointed out in #11).

Try to fix this by including autoloads files in the top-level site-lisp
directory from emacsWithPackages.
2024-06-22 13:30:32 +10:00
Marien Zwart
55f23cbfcf
Add rudimentary tests of my profile hacks 2024-06-07 21:15:34 +10:00
Thomas Schwanberger
4df8b7be15 Add doomTest 'extraPackages' 2024-06-03 00:40:12 +02:00
Marien Zwart
78ad78072d
Fix revealjs build for org +present
Noticed through upcoming test coverage improvements.
2024-05-27 20:11:05 +10:00
Marien Zwart
dbd9b1e998
Don't try to use our custom packages unless pinned
They do not have src set, so if we pull them in without having a pin
they fail to build.

Noticed with org, so add a test for that. Probably not the only one
affected, though.

Fixes #4
2024-05-27 20:08:08 +10:00
Marien Zwart
80a951826e
Support more tests than just startup
It looks like I will need tests that some of the more interesting
packages actually work, not just build.
2024-05-26 11:30:38 +10:00
Renamed from doomdirs/test/config.el (Browse further)