Use generated full init.el for cachix too
This commit is contained in:
parent
3f2a482afd
commit
5dbe1874b1
1 changed files with 15 additions and 9 deletions
24
flake.nix
24
flake.nix
|
|
@ -94,16 +94,22 @@
|
||||||
profileName = "";
|
profileName = "";
|
||||||
}).doomEmacs;
|
}).doomEmacs;
|
||||||
# TODO: cache more packages, cache for more Emacsen.
|
# TODO: cache more packages, cache for more Emacsen.
|
||||||
cachix-packages = pkgs.linkFarm "unstraightened-cachix-packages" {
|
cachix-packages = let
|
||||||
inherit doomemacs;
|
# (Shouldn't need doomFromPackages, see doomDirWithAllPackages definition)
|
||||||
full-emacs29 = (doomFromPackages pkgs {
|
fullDoomDir = (doomFromPackages pkgs {
|
||||||
emacs = pkgs.emacs29;
|
doomDir = pkgs.emptyDirectory;
|
||||||
doomDir = ./doomdirs/minimal;
|
|
||||||
doomLocalDir = "~/.local/share/nix-doom-unstraightened";
|
doomLocalDir = "~/.local/share/nix-doom-unstraightened";
|
||||||
full = true;
|
}).doomDirWithAllPackages;
|
||||||
experimentalFetchTree = true;
|
in
|
||||||
}).doomEmacs.emacsWithPackages.deps;
|
pkgs.linkFarm "unstraightened-cachix-packages" {
|
||||||
};
|
inherit doomemacs;
|
||||||
|
full-emacs29 = (doomFromPackages pkgs {
|
||||||
|
emacs = pkgs.emacs29;
|
||||||
|
doomDir = fullDoomDir;
|
||||||
|
doomLocalDir = "~/.local/share/nix-doom-unstraightened";
|
||||||
|
experimentalFetchTree = true;
|
||||||
|
}).doomEmacs.emacsWithPackages.deps;
|
||||||
|
};
|
||||||
});
|
});
|
||||||
overlays.default = final: prev: {
|
overlays.default = final: prev: {
|
||||||
doomEmacs = args: (doomFromPackages final args).doomEmacs;
|
doomEmacs = args: (doomFromPackages final args).doomEmacs;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue