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:
parent
b7b1a944d9
commit
a40637115a
2 changed files with 24 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue