Commit graph

15 commits

Author SHA1 Message Date
Marien Zwart
1d61287aff
Avoid shallow clone of notmuch
Shallow clones are the default in Nix 2.23, but the Git server for
notmuch does not seem to allow shallow clones of specific revisions.

Disable them, which should make no difference for Nix < 2.23.

This is mostly to (hopefully) unblock CI. If this fixes it, I should
investigate if it is possible for Nix to fall back to a full clone in
this scenario.
2024-07-02 21:41:10 +10:00
Marien Zwart
96ae6b4a0d
Fix opencl-mode update and unpin it 2024-06-29 19:23:23 +10:00
Marien Zwart
5b21d41b7a
Temporarily (hopefully) pin opencl-mode
This pins to the version Doom pinned to up until recently.
2024-06-27 22:38:38 +10:00
Marien Zwart
0b124de235
Explicitly specify repo for emacs-ansible
This is moving upstream, explicitly specify the location Doom currently
expects until the dust settles.
2024-06-27 22:10:30 +10:00
Marien Zwart
5533ae9a36
Fix conflicting pins of magit and git-commit
62248f8366
updates magit without updating git-commit, which is built from the same
repo.

Pin git-commit to the same newer version (no significant changes).
2024-06-22 21:44:10 +10:00
Marien Zwart
f7a4b53913
Manually specify another sourcehut repo
Noticed through an upcoming improvement to test coverage.

This should be the last one of these for now.
2024-05-27 20:11:04 +10:00
Marien Zwart
2b2d2cc3cf
Add fetch override for ol-notmuch
Noticed through upcoming test coverage improvement.
2024-05-27 20:08:15 +10:00
Marien Zwart
aa0eb06567
Add another codeberg URL
Noticed through upcoming test coverage improvement.
2024-05-27 20:08:09 +10:00
Marien Zwart
6401eecb57
Always fetch allRefs
Having CI confirm allRefs false is still safe would require a network
hit for each repo, which is already problematic. But
https://github.com/NixOS/nix/issues/7120 means we'd need to drop CI's
cached content, not just its cached refs: given how much we're fetching
that seems too much.

Fetch all refs unconditionally, assuming we're typically re-fetching the
same fixed rev repeatedly, which should be cached.
2024-05-25 12:46:43 +10:00
Marien Zwart
83302a46ad
Add two more emacsattic packages (used by scala)
We need better test coverage to figure out how many more of these there
are. I don't see a way of dealing with them better, but (unless they are
revived) they should not change underneath us, so keeping these
overrides does not seem too risky.

Fix formatting for the sly-stepper pin while I'm there.
2024-05-22 23:39:22 +10:00
Marien Zwart
96d6db2e96 Maybe fix fetching notmuch
This fails the same way emms was, and like emms I do see the commit.
2024-05-18 22:20:56 +10:00
Marien Zwart
cbe7d2586a Attempt to fix emms
CI fails to fetch it:

```
error: Server does not allow request for unadvertised object 87d0d1fb0566a80229029d0d8d7c863138d70aae
warning: could not update mtime for file '/home/runner/.cache/nix/gitv3/0gjpwip102kwcvz961gsiva3lqmmr6266s5wzs8kq0ybm68gwpx9/refs/heads/master': No such file or directory
error:
       … while checking flake output 'checks'
         at /nix/store/fwrwzxjvvpx1l27h8j5f9gffzwn2vdik-source/flake.nix:54:7:
           53|     in {
           54|       checks = perSystemPackages (pkgs:
             |       ^
           55|         let
       … while checking the derivation 'checks.x86_64-linux.full'
         at /nix/store/fwrwzxjvvpx1l27h8j5f9gffzwn2vdik-source/flake.nix:83:11:
           82|           })).emacsWithDoom;
           83|           full = mkDoom {
             |           ^
           84|             full = true;
       (stack trace truncated; use '--show-trace' to show the full trace)
       error: Cannot find Git revision '87d0d1fb0566a80229029d0d8d7c863138d70aae' in ref 'refs/heads/master' of repository 'https://git.savannah.gnu.org/git/emms.git'! Please make sure that the rev exists on the ref you've specified or add allRefs = true; to fetchGit.
```

Try to follow the suggestions from the error message, as I do see the
commit in https://git.savannah.gnu.org/cgit/emms.git/.

I'm not sure why this is only failing now...
2024-05-18 22:20:56 +10:00
Marien Zwart
c12417c362
Rename doom.nix to default.nix 2024-05-07 23:02:59 +10:00
Marien Zwart
727bcf40e4
Add LICENSE (and license headers) 2024-04-28 12:26:05 +10:00
Marien Zwart
c09022717d
Pull fetch overrides out of doom.nix
No reason, they just felt out of place.
2024-04-27 21:28:39 +10:00