Snapshot: all dependencies for doom-full build
They don't all work, and the actual Doom integration isn't there yet...
This commit is contained in:
commit
47e1bba41e
5 changed files with 560 additions and 0 deletions
31
flake.nix
Normal file
31
flake.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
inputs = {
|
||||
flake-parts.url = "flake-parts";
|
||||
nixpkgs.url = "nixpkgs";
|
||||
doomemacs = {
|
||||
url = "github:doomemacs/doomemacs";
|
||||
flake = false;
|
||||
};
|
||||
emacs-overlay.url = "github:nix-community/emacs-overlay";
|
||||
};
|
||||
|
||||
outputs = inputs@{ self, doomemacs, nixpkgs, emacs-overlay, ... }:
|
||||
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
|
||||
systems = [ "x86_64-linux" ];
|
||||
perSystem = { self', inputs', system, pkgs, lib, ... }:
|
||||
let
|
||||
common = { doomSource = doomemacs; emacs = pkgs.emacs29-pgtk; };
|
||||
in
|
||||
{
|
||||
# Current Doom + NixOS 23.11 requires emacs-overlay: Doom pins
|
||||
# emacs-fish-completion, which moved from gitlab to github recently
|
||||
# enough stable nixpkgs pulls it from the wrong source.
|
||||
_module.args.pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
overlays = [ emacs-overlay.overlays.package ];
|
||||
};
|
||||
packages.doom-minimal = pkgs.callPackage ./package.nix common;
|
||||
packages.doom-full = pkgs.callPackage ./package.nix (common // { full = true; });
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue