### Changes for nixpkgs On branch: nixpkgs-unstable Commits:5c37ad8722...77fda7f672
- [7b8e147d](7b8e147d36
) copyq: 4.1.0 -> 6.0.1 - [88468e25](88468e2589
) python3Packages.cirq-rigetti: disable outdated test - [13c35a4f](13c35a4f5f
) pinta: add meta.mainProgram - [dafaecb3](dafaecb3b9
) nixos/gvfs: fix libmtp udev package path for realz - [e10ceab9](e10ceab9c0
) dart: remove myself from maintainers - [8155bc87](8155bc8739
) leiningen: add meta.mainProgram - [43176d04](43176d04f3
) cpuset: add meta.mainProgram - [2bba578f](2bba578ff6
) opentabletdriver: add meta.mainProgram, update website - [95fee491](95fee491d9
) openssh_hpn: 8.4p1 -> 8.8p1 - [58c9aec5](58c9aec5c0
) proj: 8.2.0 -> 8.2.1 - [16ba1d62](16ba1d62e5
) pythonPackages.sfepy: 2021.2 -> 2021.4 - [e09df20b](e09df20b20
) python3Packages.adafruit-platformdetect: 3.18.0 -> 3.19.1 - [eb9951e7](eb9951e70a
) haskellPackages.gtk2hs-buildtools: remove -O0 workaround - [49ca628c](49ca628c39
) kubescape: 1.0.136 -> 1.0.137 - [fda6ac57](fda6ac5709
) maintainers: add willcohen - [eaff5241](eaff5241bf
) maintainers: add techknowlogick - [6299ff2b](6299ff2be1
) consul: 1.10.3 -> 1.11.1 - [c138c66d](c138c66dcb
) gajim: fix tests - [7e041d34](7e041d3446
) gajim: add plugin installer - [244948e6](244948e66b
) rshell: one item er line - [aeb6554e](aeb6554ea1
) electron_13: 13.6.3 -> 13.6.6 - [24ba4098](24ba4098a8
) electron_16: 16.0.5 -> 16.0.6 - [dac33ebc](dac33ebc3f
) roc-toolkit: fix aarch64-linux build - [3951393f](3951393fe9
) obb: init at 0.0.1 - [aa88b7f3](aa88b7f3ec
) linux/hardened/patches/4.14: 4.14.258-hardened1 -> 4.14.260-hardened1 - [c389f9ac](c389f9ace8
) linux/hardened/patches/4.19: 4.19.221-hardened1 -> 4.19.223-hardened1 - [b23f71e8](b23f71e805
) linux/hardened/patches/5.10: 5.10.87-hardened1 -> 5.10.89-hardened1 - [5bea8cae](5bea8cae1c
) linux/hardened/patches/5.15: 5.15.10-hardened1 -> 5.15.12-hardened1 - [babb121d](babb121da8
) linux/hardened/patches/5.4: 5.4.167-hardened1 -> 5.4.169-hardened1 - [43a33f1f](43a33f1f01
) chromium: 96.0.4664.110 -> 97.0.4692.71 - [7b1ce7a5](7b1ce7a5f9
) LASzip2: switch to fetchFromGitHub - [9f250850](9f2508505e
) graphene-hardened-malloc: switch to fetchFromGitHub - [33d32827](33d3282770
) keybinder: switch to fetchFromGitHub - [dc2909ec](dc2909ec58
) libcangjie: switch to fetchFromGitLab & update homepage - [8bedcaca](8bedcacaf1
) linux: enable X86_SGX{_KVM} on x86_64 only - [74777686](747776863c
) haskellPackages: mark builds failing on hydra as broken - [75464803](7546480323
) Revert "linuxPackages: bump default 5.10 -> 5.15" - [312315fe](312315fe83
) haskellPackages.crackNum: re-enable on aarch64-linux - [6ea4ab36](6ea4ab36bd
) python38Packages.mypy-boto3-s3: 1.20.17 -> 1.20.28 - [617bbe97](617bbe97df
) python38Packages.nameparser: 1.0.6 -> 1.1.0 - [648005c3](648005c3de
) jaeles: remove unnecessary `runVend` - [49c28083](49c2808340
) python38Packages.goodwe: 0.2.9 -> 0.2.10 - [8a877241](8a87724121
) python38Packages.pynamodb: 5.1.0 -> 5.2.0 - [602ab517](602ab51734
) python38Packages.pysptk: 0.1.18 -> 0.1.20 - [18c2e991](18c2e9910f
) python38Packages.trimesh: 3.9.39 -> 3.9.40 - [c5c1b337](c5c1b337e5
) python3Packages.gcsfs.src: fix sha - [dcc20d7c](dcc20d7c17
) firebird_4.src: fix sha256 - [8df2c9fe](8df2c9feb4
) dashpay.src: fix sha256 - [f6a8702c](f6a8702cea
) go-task: 3.9.2 -> 3.10.0 - [adfe7f33](adfe7f334a
) box2d: make src name independent - [e6043946](e604394699
) bitcoin-classic.src: fix sha - [9e851977](9e8519777b
) gnome-icon-theme: mark as broken on darwin - [cc545663](cc545663ce
) Export static libc, libm, libdl from the prebuilt crt as well. - [751d9583](751d9583ee
) python38Packages.watermark: 2.2.0 -> 2.3.0 - [c2ecf54b](c2ecf54bb1
) python38Packages.ipympl: 0.8.4 -> 0.8.5 - [b3cfebfc](b3cfebfcb8
) python38Packages.deezer-py: 1.3.2 -> 1.3.5 - [681f18ff](681f18ffa8
) python38Packages.deemix: 3.6.4 -> 3.6.5 - [6597f5a2](6597f5a274
) python3Packages.ansible-runner: disable failing tests - [021a011b](021a011b29
) json-schema-for-humans: 0.39.3 -> 0.39.5 - [81755f96](81755f9615
) maintainers: add mtesseract - [43cba143](43cba143c0
) kube-linter: init at 0.2.5 - [893ffee2](893ffee286
) Revert "nixos/documentation: avoid copying nixpkgs subpaths" - [a173e35a](a173e35a9e
) zellij: 0.23.0 -> 0.24.0 ([NixOS/nixpkgs#153587](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/153587)) - [492a4bd3](492a4bd357
) super-slicer: 2.3.57.8 -> 2.3.57.9 - [b65eb7ec](b65eb7ec84
) obb: switch to fetchFromGitHub - [3dd76988](3dd7698867
) obb: switch to passthru.tests - [50284bd7](50284bd7c0
) python3Packages.sqlobject: disable failing test - [5050956b](5050956be2
) python3Packages.pydmd: disable failing and long-running tests - [07db5d29](07db5d2980
) python3Packages.pycm: disable failing test - [ea6b995d](ea6b995da5
) python3Packages.flux-led: 0.27.36 -> 0.27.40 - [ef7f5fdc](ef7f5fdc82
) checkov: 2.0.702 -> 2.0.706 - [a2fa7414](a2fa741467
) python3Packages.pyebus: 1.2.4 -> 1.4.0 - [e01959e3](e01959e3ce
) maintainers: add deltadelta - [a207408a](a207408aa2
) ocamlPackages.dbf: init at 1.1.0 - [43a1e275](43a1e275c4
) python3Packages.parsy: switch to pytestCheckHook - [4c21eb40](4c21eb400a
) python3Packages.gcsfs: update homepage - [4ae16720](4ae1672085
) python3Packages.sumo: relax castepxbin constraint - [271ca2b0](271ca2b032
) python3Packages.environs: 9.3.5 -> 9.4.0 - [ff811628](ff81162833
) python3Packages.hahomematic: 0.12.0 -> 0.13.3 - [115a6f07](115a6f077f
) llvmPackages_{12,13,git}.compiler-rt: remove new runtimes in useLLVM - [db2953eb](db2953eb19
) nixos/tinc: add mic92 maintainer - [e1b3d18c](e1b3d18cbc
) cocogitto: init as 4.0.1 - [1a4a216b](1a4a216bf5
) onlykey: set the group correctly in the udev rule ([NixOS/nixpkgs#153618](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/153618)) - [843508da](843508dad4
) chromiumDev: Backport important fixes for Wayland - [20d41417](20d414175f
) clojure: 1.10.3.1053 -> 1.10.3.1058 - [cba86fea](cba86feaaf
) ite-backlight: init at v1.1 - [8325cfb3](8325cfb39d
) rethinkdb: pin Boost dep to boost170 - [9fa99d44](9fa99d440b
) gpxsee: 10.0 → 10.1 - [0c8ea703](0c8ea70368
) libcec: switch to fetchFromGitHub - [0baa07bd](0baa07bd59
) libcrafter: switch to fetchFromGitHub - [22cd481e](22cd481eb0
) vimPlugins.lua-dev-nvim: init at 2021-12-31 - [a125a8a5](a125a8a51d
) vimPlugins.impatient-nvim: init at 2021-12-26 - [364315cb](364315cbca
) vimPlugins.telescope-file-browser-nvim: init at 2021-12-29 - [cc708106](cc708106e0
) vimPlugins.telescope-github-nvim: init at 2021-08-25 - [c8ab07a8](c8ab07a8e1
) mercurial: 6.0 -> 6.0.1 - [0cf654d9](0cf654d9b2
) terrascan: 1.12.0 -> 1.13.0 - [4540a9dc](4540a9dcd2
) mob: add optional speech support - [2cb945d5](2cb945d526
) wolfssl: 5.1.0 -> 5.1.1 - [8ef375f7](8ef375f7b3
) python3Packages.dm-haiku: init at 0.0.5 ([NixOS/nixpkgs#153122](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/153122)) - [75b3b8c4](75b3b8c4b1
) python3Packages.dulwich: 0.20.26 -> 0.20.27 - [7dae53c9](7dae53c963
) markdown-anki-decks: relax genanki constraint - [24a90eb1](24a90eb1fb
) python38Packages.genanki: 0.12.0 -> 0.13.0 - [74b562f8](74b562f81a
) grib-api: remove - [dce2b3eb](dce2b3eb6d
) udevil: refactor - [8254f078](8254f078fc
) grc: update meta.homepage - [8a0de217](8a0de21730
) udiskie: 2.3.3 -> 2.4.0 - [98f31f13](98f31f139a
) ppsspp: 1.11 -> 1.12.3 - [0eef882c](0eef882cf5
) pekwm: 0.1.18 -> 0.2.1 - [7580fbb4](7580fbb4be
) berry: 0.1.7 -> 0.1.9 - [9791807f](9791807f00
) python3Packages.vt-py: 0.12.0 -> 0.13.0 - [8772f866](8772f86612
) python3Packages.oocsi: 0.4.2 -> 0.4.3 - [f49bd944](f49bd944c5
) terraform-providers: disable CGO, set ldflags - [e67813b0](e67813b0c6
) doc/go: remove platform from example - [0c8b2ce6](0c8b2ce6c0
) terraform-providers.minio: init at 1.2.0 - [5ef18697](5ef18697ff
) rizin: 0.3.1 -> 0.3.2 - [6b9f31d4](6b9f31d4ab
) python38Packages.filebrowser_safe: 1.1.0 -> 1.1.1 - [5d244d5c](5d244d5c5f
) nix-top: 0.2.0 -> 0.3.0 - [12e13654](12e13654ce
) python3Packages.optax: init at unstable-2022-01-05 ([NixOS/nixpkgs#153655](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/153655)) - [3c4a898b](3c4a898b40
) python3Packages.mcstatus: add alias in all-packages - [151810b3](151810b332
) gnome-podcasts: mark as broken on darwin - [6f6a0cff](6f6a0cff8a
) python38Packages.pysimplegui: 4.55.1 -> 4.56.0 - [1fe22e19](1fe22e1978
) bucklespring: 1.5.0 -> 1.5.1 - [8a8c88de](8a8c88de70
) buildGoModule: use `proxyVendor` instead of `runVend` - [96b524c4](96b524c47b
) erigon: switch to `proxyVendor` - [8c9182c1](8c9182c1c5
) hugo: switch to `proxyVendor` - [f24d06a3](f24d06a395
) aerc: switch to `proxyVendor` - [dc748e7d](dc748e7ddf
) hydron: switch to `proxyVendor` - [49eb2524](49eb25241e
) livepeer: switch to `proxyVendor` - [082d7c22](082d7c22d8
) gotop: switch to `proxyVendor` - [33fc3566](33fc356616
) icdiff: remove self (aneeshusa) from maintainers - [3dc83b28](3dc83b28a1
) python38Packages.python-gitlab: 2.10.1 -> 3.0.0 - [e465dd55](e465dd55ec
) ocamlPackages.uunf: fix aarch64-linux build - [b35674c0](b35674c03e
) python38Packages.parfive: 1.5.0 -> 1.5.1 - [3d869b89](3d869b89b0
) mercurial: disable check phase on Darwin - [8e39c0f7](8e39c0f750
) mercurial: extend tests timeout - [c2da87c1](c2da87c13f
) python38Packages.limnoria: 2022.1.1 -> 2022.1.1.post1 - [ec3c2e37](ec3c2e3776
) python3Packages.python-gitlab: update supported Python releases - [87baecc0](87baecc0ce
) python3Packages.pysimplegui: update meta - [9c2683eb](9c2683eb75
) python3Packages.filebrowser_safe: update meta
nix-doom-emacs
Status | |
---|---|
Build on master |
|
Build on develop |
|
Dependency updater |
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 experience as some dependencies 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/nix-community/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 ];
}
./doom.d
should contain the following three files: config.el
, init.el
and
packages.el
. If you don't already have an existing doom-emacs
configuration,
you can use the contents of test/doom.d
as a template.
Using flake.nix
:
{
inputs = {
home-manager.url = "github:rycee/home-manager";
nix-doom-emacs.url = "github:nix-community/nix-doom-emacs";
};
outputs = {
self,
nixpkgs,
home-manager,
nix-doom-emacs,
...
}: {
nixosConfigurations.exampleHost = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
home-manager.nixosModules.home-manager
{
home-manager.users.exampleUser = { pkgs, ... }: {
imports = [ nix-doom-emacs.hmModule ];
programs.doom-emacs = {
enable = true;
doomPrivateDir = ./doom.d;
};
};
}
];
};
};
}
Under the hood
This expression leverages nix-straight.el under the hood for installing dependencies. The restrictions of that package apply here too.
Usage
instead of running emacs.d/bin/doom, once you have update your config files (packages.el, init.el, config.el), rebuild doom-emacs with nix. If you are using home-manager, simply run home-manager switch
Troubleshooting
On macOS on a fresh install, you might run into the error Too many files open
. running ulimit -S -n 2048
will only work for the duration of your shell and will fix the error
Installing emacs packages
In the initial packages.el instructions for how to install packages can be
found. However some packages might require a particular software dependency to
be installed. Trying to install those would give you an error of the type:
Searching for program: No such file or directory, git
(Missing git dependency)
Here is how you would go installing
magit-delta for example (which
requires git).
Under the line:
doomPrivateDir = ./doom.d;
in your configuration, you would add the following:
emacsPackagesOverlay = self: super: {
magit-delta = super.magit-delta.overrideAttrs (esuper: {
buildInputs = esuper.buildInputs ++ [ pkgs.git ];
});
};
To make the git dependency available. trying to rebuild doom-emacs with
home-manager switch
should work correctly now.
Using the daemon
To use the daemon, simply enable the emacs service (with NixOS
, home-manager
or nix-darwin
) and use the doom emacs package. doom-emacs
will need to be
referenced at the top of your config file.
services.emacs = {
enable = true;
package = doom-emacs; # use programs.emacs.package instead if using home-manager
}
to connect to the daemon you can now run emacsclient -c