CI: build more for cachix
Exposes a bug: GTK3 (both emacs29-gtk3 and emacs29-pgtk) Emacs segfault compiling jupyter, while loading emacs-zmq. So don't enable those yet, need to debug that first...
This commit is contained in:
parent
5f7f3b9386
commit
10dae5d091
1 changed files with 22 additions and 10 deletions
28
flake.nix
28
flake.nix
|
|
@ -96,21 +96,33 @@
|
|||
doomLocalDir = "~/.local/share/nix-doom-unstraightened";
|
||||
profileName = "";
|
||||
}).doomEmacs;
|
||||
# TODO: cache more packages, cache for more Emacsen.
|
||||
cachix-packages = let
|
||||
doomDirs = pkgs.callPackages ./build-helpers/doomdirs.nix {
|
||||
doomSource = doomemacs;
|
||||
};
|
||||
in
|
||||
pkgs.linkFarm "unstraightened-cachix-packages" {
|
||||
inherit doomemacs;
|
||||
full-emacs29 = (doomFromPackages pkgs {
|
||||
emacs = pkgs.emacs29;
|
||||
doomDir = doomDirs.allModules;
|
||||
inherit (nixpkgs) lib;
|
||||
depBuilds = lib.mapCartesianProduct
|
||||
({doomDir, emacs}: (
|
||||
lib.nameValuePair
|
||||
"${emacs.name}-${doomDir.name}"
|
||||
(doomFromPackages pkgs {
|
||||
doomDir = doomDir.value;
|
||||
emacs = emacs.value;
|
||||
doomLocalDir = "~/.local/share/nix-doom-unstraightened";
|
||||
experimentalFetchTree = true;
|
||||
}).doomEmacs.emacsWithPackages.deps;
|
||||
}).doomEmacs.emacsWithPackages.deps))
|
||||
{
|
||||
doomDir = lib.attrsToList doomDirs;
|
||||
# TODO: emacs29-gtk3 and emacs29-pgtk fail to build jupyter (segfault in zmq)
|
||||
emacs = lib.attrsToList {
|
||||
inherit (pkgs) emacs29 emacs29-nox;
|
||||
};
|
||||
};
|
||||
in
|
||||
pkgs.linkFarm "unstraightened-cachix-packages" (
|
||||
{ inherit doomemacs; }
|
||||
// lib.listToAttrs depBuilds
|
||||
);
|
||||
});
|
||||
overlays.default = final: prev: {
|
||||
doomEmacs = args: (doomFromPackages final args).doomEmacs;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue