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
12
flake.nix
12
flake.nix
|
|
@ -94,13 +94,19 @@
|
|||
profileName = "";
|
||||
}).doomEmacs;
|
||||
# TODO: cache more packages, cache for more Emacsen.
|
||||
cachix-packages = pkgs.linkFarm "unstraightened-cachix-packages" {
|
||||
cachix-packages = let
|
||||
# (Shouldn't need doomFromPackages, see doomDirWithAllPackages definition)
|
||||
fullDoomDir = (doomFromPackages pkgs {
|
||||
doomDir = pkgs.emptyDirectory;
|
||||
doomLocalDir = "~/.local/share/nix-doom-unstraightened";
|
||||
}).doomDirWithAllPackages;
|
||||
in
|
||||
pkgs.linkFarm "unstraightened-cachix-packages" {
|
||||
inherit doomemacs;
|
||||
full-emacs29 = (doomFromPackages pkgs {
|
||||
emacs = pkgs.emacs29;
|
||||
doomDir = ./doomdirs/minimal;
|
||||
doomDir = fullDoomDir;
|
||||
doomLocalDir = "~/.local/share/nix-doom-unstraightened";
|
||||
full = true;
|
||||
experimentalFetchTree = true;
|
||||
}).doomEmacs.emacsWithPackages.deps;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue