Commit graph

25 commits

Author SHA1 Message Date
Marien Zwart
14df163e2b
Update ol-notmuch fetch override
It moved from sourcehut to github. Should be able to remove this after
the next CI run pulls in the same change via emacs-overlay.
2024-08-08 00:09:05 +10:00
Marien Zwart
a3e0988b13
Force full clone for repo.or.cz
CI is failing to fetch d0cb221502c9e104b6e3c358128b28761ffddb55 from
https://repo.or.cz/org-contacts.git, but that commit looks to be there.
2024-08-01 21:59:16 +10:00
Marien Zwart
58d9f5483c
Unpin git-commit
Doom bumped both packages this time, so they are back in sync.
2024-07-23 21:26:12 +10:00
Marien Zwart
d0fb5e8764
Bump git-commit again to match magit again
Still no significant changes.
2024-07-16 20:40:01 +10:00
Marien Zwart
353a0125f4
Drop stale fetch override for ansible
Should no longer be necessary, Doom caught up.

Unclear why I thought Doom was getting the old location from el-get: it
should have been preferring MELPA... I either missed some caching
somewhere or just made a mistake.
2024-07-13 15:19:58 +10:00
Marien Zwart
d10f14d370
Update git-commit pin
Still necessary, but magit got bumped so we need to bump this pin too.

Confirmed this does not pull in significant changes, just cleanup.
2024-07-09 20:03:33 +10:00
Marien Zwart
fca6356502
Force deep clones from gitlab.com
CI is failing to fetch with Nix 2.23 but not Nix 2.22, which this likely
fixes.
2024-07-05 21:21:04 +10:00
Marien Zwart
dc0541b3a8
Disable shallow clones from codeberg
They do not seem to work either.
2024-07-02 22:25:59 +10:00
Marien Zwart
257a75855c
Disable shallow fetches for sourcehut
They do not seem to work.
2024-07-02 22:17:20 +10:00
Marien Zwart
37da9ce045
Extend/generalize shallow clone avoidance
Savannah seems to have the same problem.

CI fails for emms. Extend to all of savannah as we'll presumably hit
this for several other packages next...
2024-07-02 21:59:49 +10:00
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