7add1505c0f07ba75bc718142a776701024814aa
`nix-straight.el` used to require `straight.el` on its own before `doom` itself was loaded. This had an unfortunate side-effect that `straight-fix-org` was set to nil after it has been loaded so `org-version` and `org-git-version` functions were already overloaded. This was no problem for `org-mode` itself as it has its own overload of the above mentioned functions, but other libraries such as `elfeed` may also use these which causes problems. `nix-straight.el` is updated to a version where it does not preload `straight` and an advice is provided to `doom` so it loads our version of `straight` when it supposed to. References: https://github.com/vlaci/nix-doom-emacs/issues/5
nix-doom-emacs
Nix expression to install and configure doom-emacs.
The expression builds a doom-emacs
distribution with dependencies
pre-installed based on an existing ~/.doom.d
directory.
It is not a fully fledged exprerience as some dependenices are not installed and
some may not be fully compatible as the version available in NixOS or
emacs-overlay may not be
compatible with the doom-emacs
requirements.
Getting started
Using home-manager:
{ pkgs, ... }:
let
doom-emacs = pkgs.callPackage (builtins.fetchTarball {
url = https://github.com/vlaci/nix-doom-emacs/archive/master.tar.gz;
}) {
doomPrivateDir = ./doom.d; # Directory containing your config.el init.el
# and packages.el files
};
in {
home.packages = [ doom-emacs ];
home.file.".emacs.d/init.el".text = ''
(load "default.el")
'';
}
Under the hood
This expression leverages nix-straight.el under the hood for installing depdendencies. The restrictions of that package apply here too.
Description
Languages
Nix
64.3%
Emacs Lisp
35.7%