CI: write to Cachix

This is only a starting point. For this to be more useful, we need to
build for multiple Emacsen. But I want to get a baseline for the size of
the closure first (as well as confirming it works in the first place).
This commit is contained in:
Marien Zwart 2024-05-19 17:48:36 +10:00
parent b7b1a944d9
commit a40637115a
No known key found for this signature in database
2 changed files with 24 additions and 0 deletions

View file

@ -109,6 +109,15 @@
doomLocalDir = "~/.local/share/nix-doom-unstraightened";
profileName = "";
}).doomEmacs;
# TODO: cache more packages, cache for more Emacsen.
cachix-packages = pkgs.linkFarm "unstraightened-cachix-packages" {
full-emacs29 = (doomFromPackages pkgs {
emacs = pkgs.emacs29;
doomDir = ./doomdirs/minimal;
doomLocalDir = "~/.local/share/nix-doom-unstraightened";
full = true;
}).doomEmacs;
};
});
overlays.default = final: prev: {
doomEmacs = args: (doomFromPackages final args).doomEmacs;