Commit graph

21 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
Jakob Leifhelm
6348a69876
opencl-mode rename in nixpkgs-unstable 2024-07-31 11:40:33 +02:00
Marien Zwart
51e61c24fe
Avoid mktemp
Nix promises to run us in an (empty) temporary directory. So we should
not need mktemp, we can just use deterministic names.

Our temporary directory should already not be leaking into the
output (and we enforce that for the profile), so this should just be
cleanup that makes debugging slightly easier.
2024-07-21 12:32:38 +10:00
Marien Zwart
96ae6b4a0d
Fix opencl-mode update and unpin it 2024-06-29 19:23:23 +10:00
Marien Zwart
0c1376d910
Drop phpactor patch
Doom pulled in a version with the patch applied upstream.
2024-06-27 22:41:23 +10: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
a4338aad5c
Fix helm-taskrunner build
The fix is a mess, but it's the last fix blocking the improved test
coverage that made me notice the problem.
2024-05-27 20:08:16 +10:00
Marien Zwart
1e879c9556
org: make it find its datadir 2024-05-11 22:58:15 +10:00
Marien Zwart
1842251412
org: partially parallel build
Org's build system still builds docs before lisp, but does partially
parallelize.
2024-05-11 22:54:18 +10:00
Marien Zwart
727bcf40e4
Add LICENSE (and license headers) 2024-04-28 12:26:05 +10:00
Marien Zwart
68d5ec704b
Add script to check for byte-compile failures
Just a manual check for now.
2024-04-27 21:25:29 +10:00
Marien Zwart
6136bc10ab
Make org aware of its release version
This fixes version checks against Org, like the one elfeed runs after
loading Org.
2024-04-07 22:04:45 +10:00
Marien Zwart
367bce4bd1
Fix phpactor leaking /build/ into init.elc
Fixes doom-full build.
2024-04-07 18:56:32 +10:00
Marien Zwart
d968be8a05
Explicitly pull in org from org-contrib
I assume it currently builds against the Emacs-bundled version.
2024-03-30 21:08:02 +11:00
Marien Zwart
55f99b5eb7
Drop obsolete patch
Doom updated to a version including this.
2024-03-30 21:04:14 +11:00
Marien Zwart
672c49d8ac
Fix a few byte-compilation errors 2024-03-18 23:53:14 +11:00
Marien Zwart
9d34ae17a5
Clean up straight install
We were installing bootstrap.el, install.el and indent.el. The former
two would have undesirable side effects if loaded, the latter shadows a
built-in library.
2024-03-18 22:33:18 +11:00
Marien Zwart
68f5e44763
Fix auctex-dependent packages 2024-03-18 21:24:22 +11:00
Marien Zwart
f1290f2f69
Fix a doom-snippets snippet shadowing default.el 2024-03-06 00:11:34 +11:00
Marien Zwart
c50ceed902
Fix :files handling
Exposes what I think is a pre-existing problem with too many directories
getting added to load-path, because we now install a directory
containing a file named "default" that was previously omitted.
2024-03-05 22:23:40 +11:00
Marien Zwart
f2858f01a0
Split custom elisp packages to their own file 2024-03-04 15:18:20 +11:00