### Changes for nixpkgs On branch: nixpkgs-unstable Commits:db6e089456...7b4ff2184e
- [270c54df](270c54df09
) Apply suggestions from code review - [2aae258f](2aae258fd5
) python3Packages.python-pidfile: init at 3.0.0 ([NixOS/nixpkgs#129272](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/129272)) - [2a397ca3](2a397ca36a
) lightwalletd: init at 0.4.7 - [60b1a047](60b1a047b7
) linuxPackages.evdi: 2021-04-01 -> 2021-06-11, fix 5.13 build - [7498e1f4](7498e1f46d
) zeek: 4.0.2 -> 4.0.3 - [288f4cca](288f4cca2a
) python3Packages.lmnotify: 0.0.4 -> 0.0.6 - [ad4d486e](ad4d486eb5
) vimPlugins: update - [25ff878a](25ff878acc
) vimPlugins.indent-blankline-nvim-lua: make an alias to indent-blankline-nvim - [f5f3e8c2](f5f3e8c203
) vimPlugins.nvim-bufdel: init at 2021-05-21 - [6154b83a](6154b83a93
) the-powder-toy: add mainProgram - [8feca53b](8feca53ba9
) tfswitch: init at 0.12.1119 - [c8f35051](c8f350513f
) maintainers/maintainer-list: Use full name for psibi - [8f312f63](8f312f630b
) the-powder-toy: update license - [53dd7f29](53dd7f29c7
) sqlmap: 1.5.6 -> 1.5.7 - [97f2c8da](97f2c8dad1
) xplr: 0.14.3 -> 0.14.4 - [e3342306](e3342306d8
) python3Packages.youtube-search: use fetchPypi - [750aebe3](750aebe3dc
) pythonPackages.pydes: improve checkPhase - [a42b017b](a42b017bdc
) python3Packages.itunespy: does not depend on mypy - [5f4bbbff](5f4bbbffa4
) ytmdl: don't propagate ffmpeg - [3f18b72c](3f18b72c1e
) gitlab: 14.0.1 -> 14.0.2 ([NixOS/nixpkgs#128963](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/128963)) - [2468ca4a](2468ca4a85
) python3Packges.celery: fix build - [48cd9042](48cd90425d
) zellij: 0.13.0 -> 0.14.0 - [e4e4ec67](e4e4ec67ce
) vimPlugins.tabnine-vim: init at 2021-01-14 - [e1fb6783](e1fb67832b
) python3Packages.nmigen: fix build - [a61ffbaa](a61ffbaae6
) tfsec: 0.40.7 -> 0.41.0 - [19c2dee0](19c2dee0b8
) tfsec: migrate to ldflags - [782def8d](782def8d5c
) liquidctl: 1.6.1 -> 1.7.0 - [3e92c6be](3e92c6bec0
) rauc: Provide systemd service file - [fa9f6c56](fa9f6c56a8
) makeself: disable tests for now, working around [NixOS/nixpkgs#110149](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/110149) - [f526256a](f526256a6f
) busybox-sandbox-shell: use 64-bit numbers in `test` command - [4cb042ec](4cb042ecb5
) openmpt123: 0.5.9 -> 0.5.10 - [6f474174](6f4741747c
) python3Packages.bytecode: 0.11.0 -> 0.12.0 - [ef6d8946](ef6d8946c7
) getmail6: 6.17 -> 6.18 - [1d7fab34](1d7fab3457
) osu-lazer: 2021.612.0 -> 2021.703.0 - [802f0213](802f021382
) aws-c-cal: 0.4.5 -> 0.5.11 - [440304b5](440304b5ae
) exploitdb: 2021-07-03 -> 2021-07-06 - [f06e35c0](f06e35c0e8
) python3Packages.pytube: 10.8.5 -> 10.9.0 - [d1f05a0a](d1f05a0ae7
) obs-studio-plugins: add `recurseIntoAttrs` - [291b3ff5](291b3ff5af
) lima: 0.4.0 -> 0.5.0 - [e200a599](e200a59995
) canta-theme: 2020-05-17 -> 2021-07-06 - [ab2a731c](ab2a731cca
) audacity: exclude from auto-updates, documenting decision - [20d4e8bd](20d4e8bd39
) psi-plus: bugfix for missing gstreamer dependencies - [f879395b](f879395bd9
) nixos/btrfs: handle new checksum types in initrd ([NixOS/nixpkgs#126158](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/126158)) - [f655a77e](f655a77ebf
) kops: 1.20.1 -> 1.20.2 ([NixOS/nixpkgs#128801](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/128801)) - [a43f0e8a](a43f0e8af9
) python3Packages.pyrituals: 0.0.4 -> 0.0.5 - [eea55853](eea558539e
) gleam: 0.16.0 -> 0.16.1 - [f4e3ccdb](f4e3ccdbb2
) fluent-bit: enable metrics & systemd support - [f9539933](f95399337f
) pulumi-bin: 3.5.1 -> 3.6.0 - [e009ef23](e009ef23ae
) weechatScripts.highmon: init at 2.7 - [fc956a6d](fc956a6d2c
) hugo: 0.84.4 -> 0.85.0 - [e0cda370](e0cda3708a
) vault, vault-bin: fix build for darwin - [873fd459](873fd459a3
) flare: 1.11 -> 1.12rc1 - [69d84ca2](69d84ca216
) jrsonnet: 0.4.0 -> 0.4.1 - [417563fa](417563fab9
) nix-exec: remove - [e4e7c8c2](e4e7c8c2c3
) python3Packages.types-decorator: init at 0.1.5 - [6d20dc74](6d20dc7421
) python3Packages.types-requests: init at 2.25.0 - [9282b2f5](9282b2f5a4
) python3Packages.censys: 1.1.1 -> 2.0.3 - [77a2f388](77a2f38892
) terraform-providers.cloudflare: update source, 2.7.0 -> 2.23.0 - [a9c819f4](a9c819f485
) python3Packages.gssapi: 1.6.12 -> 1.6.14 - [4a356e3d](4a356e3dc6
) tmuxPlugins.dracula: 1.0 -> 1.0.1 ([NixOS/nixpkgs#128833](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/128833)) - [e4d4b543](e4d4b54385
) topgrade: 7.0.1 -> 7.1.0 - [a2c311fc](a2c311fc1d
) electron-cash: fix build on darwin - [ad8b9f8c](ad8b9f8c60
) looking-glass-obs: init - [06c4f46a](06c4f46a1a
) python3Packages.python3-saml: Add patch to fix tests due to expired responses - [2327acd1](2327acd1d0
) ytmdl: patch bug - [8eb54b8e](8eb54b8e09
) bore: init at 0.3.3 ([NixOS/nixpkgs#129295](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/129295)) - [77488646](7748864655
) kvmfr: init at $looking-glass-client.version - [c31f5ba0](c31f5ba083
) pianoteq.{stage-trial,standard-trial}: 7.3.0 -> 7.4.1 - [e1bc891a](e1bc891aec
) trash-cli: 0.21.6.10.1 -> 0.21.6.30 - [2e9dd407](2e9dd407b8
) rr-unstable: 2020-10-04 -> 2021-07-06 - [b9ff6b1f](b9ff6b1f33
) google-cloud-sdk: add aarch64-darwin - [66aa4f2d](66aa4f2d4f
) vimPlugins.doki-theme-vim: init at 2021-06-16 - [d8dc2f15](d8dc2f15ea
) python3Packages.pep8-naming: fix tests - [7d865365](7d86536529
) rtw89: init at 2021-07-03 ([NixOS/nixpkgs#129325](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/129325)) - [176b8cce](176b8cce23
) fmt_8: init at 8.0.1 ([NixOS/nixpkgs#129378](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/129378)) - [c4f09d80](c4f09d8006
) oil: 0.8.11 -> 0.8.12 - [ae5e4425](ae5e4425a0
) esbuild: 0.12.12 -> 0.12.14 - [6dfc26e6](6dfc26e6f6
) gitea: 1.14.3 -> 1.14.4 - [655dc5b6](655dc5b67e
) purescript: 0.14.2 -> 0.14.3 - [7bcc3f61](7bcc3f6190
) postgresqlPackages.timescaledb: 2.3.0 -> 2.3.1 - [91887fed](91887fed8d
) fish: 3.3.0 -> 3.3.1 - [358ebd19](358ebd190d
) python3Packages.mcstatus: 6.2.0 -> 6.4.0 - [a2cdd3f4](a2cdd3f44a
) roon-server: 1.8-795 -> 1.8-806 - [e55f56bb](e55f56bb9e
) python3Packages.archinfo: 9.0.8021 -> 9.0.8761 - [dc25b0bc](dc25b0bc07
) python3Packages.ailment: 9.0.8021 -> 9.0.8761 - [ed0d0e75](ed0d0e75a9
) python3Packages.pyvex: 9.0.8021 -> 9.0.8761 - [c4b6ca48](c4b6ca4842
) python3Packages.claripy: 9.0.8021 -> 9.0.8761 - [c566add8](c566add8cb
) python3Packages.cle: 9.0.8021 -> 9.0.8761 - [7d43b982](7d43b982dd
) python3Packages.angr: 9.0.8021 -> 9.0.8761 - [05f7b916](05f7b916ae
) python3Packages.angrop: 9.0.8021 -> 9.0.8761 - [90f9b704](90f9b70423
) pdns-recursor: 4.5.2 -> 4.5.4 - [64f20381](64f20381dc
) xcolor: fix build - [1cfc10e7](1cfc10e797
) stevenblack-blocklist: 3.7.12 -> 3.7.13 - [50a10986](50a10986ec
) mdbook: 0.4.9 -> 0.4.10 - [315e3cfc](315e3cfc9a
) python3Packages.dependency-injector: 4.32.2 -> 4.34.0 - [e6fb1bb6](e6fb1bb60e
) python3Packages.graphene: fix build - [edabf180](edabf1806a
) python3Packages.starlette: fix build - [b57c87ae](b57c87ae7d
) btcpayserver: 1.1.1 -> 1.1.2 - [cf2bee80](cf2bee80eb
) nbxplorer: 2.1.51 -> 2.1.52 - [4c083492](4c0834929c
) ocamlPackages.lwt-canceler: init at 0.2 - [1537d093](1537d09361
) uutils-coreutils: fix darwin build (missing libiconv) - [c7ddc7e0](c7ddc7e001
) pinfo: 0.6.10 -> 0.6.13 - [8560dc85](8560dc8549
) cypress: 7.5.0 -> 7.7.0 - [17d2bc7e](17d2bc7eeb
) katago: Corrected git commit hash to be the tagged version, not the old tagged version - [ce35e285](ce35e2852d
) python3Packages.aqualogic: 2.6 -> 3.3 - [aea1a6c3](aea1a6c3cd
) python3Packages.foolscap: 20.4.0 -> 21.7.0 - [652d4987](652d498786
) python3Packages.hstspreload: 2021.6.28 -> 2021.7.5 - [a79e9212](a79e9212ec
) python3Packages.maestral: 1.4.5 -> 1.4.6 - [d20231f7](d20231f714
) maestral-gui: 1.4.5 -> 1.4.6 - [a7a7be8b](a7a7be8b94
) k9s: 0.24.12 -> 0.24.13 - [fc745d50](fc745d501d
) python3Packages.bitarray: 2.2.0 -> 2.2.1 - [8d113676](8d113676ca
) just: 0.9.6 -> 0.9.8 - [8211a76d](8211a76d5b
) humioctl: 0.28.4 -> 0.28.5 - [7b48f629](7b48f6295d
) libcyaml: 1.1.0 -> 1.2.0 - [2b42d61c](2b42d61cef
) codeql: 2.5.6 -> 2.5.7 - [f62e46d6](f62e46d629
) goreleaser: 0.172.1 -> 0.173.1 - [97111e82](97111e82ca
) python3Packages.pymetar: 1.2 -> 1.3 - [addf2a6e](addf2a6edf
) python3Packages.httmock: 1.3.0 -> 1.4.0 - [ab706852](ab70685238
) python3Packages.httmock: enable tests - [b749ff4f](b749ff4f51
) python3Packages.pg8000: 1.19.5 -> 1.20.0 - [1947733a](1947733a32
) polkadot: 0.9.7 -> 0.9.8 - [82a2dece](82a2deced8
) fcft: 2.4.1 -> 2.4.2 - [5ec78c03](5ec78c03ce
) change various expressions to use pname and version - [d8a87e89](d8a87e89e7
) switch mercurial_4 and tortoisehg to pname - [1422563f](1422563f54
) hplip: add -n to gzip to improve reproducibility - [83e44f67](83e44f67b1
) dwm: support cross-compilation by setting proper CC - [e93d6ab0](e93d6ab0ff
) mdbook: remove unused input - [aa359bdf](aa359bdfde
) electrs: 0.8.9 -> 0.8.10 - [5ae0e015](5ae0e01511
) fcft: support cross-compilation
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/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")
'';
}
./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:vlaci/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