### Changes for nixpkgs On branch: nixpkgs-unstable Commits:2c58a9dac0...3155a9e966
- [7deb84b0](7deb84b02e
) xterm: 364 → 365 - [476f38b7](476f38b7f3
) amdvlk: 2021.Q1.2 -> 2020.Q1.3 - [f035e412](f035e41219
) retext: remove markdown and chardet overrides - [c6aa16f6](c6aa16f615
) tabula-java: Init at 1.04 - [a4cca84b](a4cca84b0a
) python3Packages.py-multicodec: init at 0.2.1 - [c197e4c3](c197e4c3fb
) vimPlugins: update - [be5534dc](be5534dc0e
) vimPlugins.lspkind-nvim: init at 2021-02-06 - [8331390c](8331390c3a
) vimPlugins.auto-session: init at 2021-02-05 - [be405021](be40502161
) vimPlugins.compe-tabnine: init at 2021-02-08 - [72bd905e](72bd905ea7
) unciv: 3.12.12 -> 3.12.13-patch1 - [519e32d4](519e32d4f4
) mysql57: Fix compile on macOS - [bf28a762](bf28a76221
) velero: 1.5.2 -> 1.5.3 - [2ed85979](2ed8597999
) lowdown: run pre/postConfigure hooks - [a6af4637](a6af4637f2
) vitetris: 0.58.0 -> 0.59.1 - [99ecffc3](99ecffc333
) vultr-cli: 2.0.1 -> 2.2.0 - [60ce5e1e](60ce5e1e23
) wire: 0.4.0 -> 0.5.0 - [a4e8d7e5](a4e8d7e511
) python3Packages.blinkstick: 1.1.8 -> 1.2.0 - [de3bda4a](de3bda4a38
) _1password-gui: 0.9.11-3 -> 0.9.12-3 - [ab987e26](ab987e26d5
) aws-iam-authenticator: set the correct version variable - [c010b091](c010b09108
) aws-iam-authenticator: set subPackages to ensure only the command is built - [ceb56b20](ceb56b202f
) xwallpaper: 0.6.5 -> 0.6.6 - [7a967e9d](7a967e9d57
) ttwatch: 2020-02-05 -> 2020-06-24 - [a8727cd0](a8727cd059
) python3Packages.transformers: 4.2.2 -> 4.3.2 - [80ea343b](80ea343bf2
) staticjinja: 1.0.3 -> 1.0.4 - [f49f6b8a](f49f6b8a28
) ytt: 0.30.0 -> 0.31.0 - [35924d9d](35924d9da8
) z-lua: 1.8.10 -> 1.8.11 - [f56f5cc7](f56f5cc78b
) widelands: 20 -> 21 - [ba980c77](ba980c778f
) qbe: unstable-2019-07-11 → unstable-2020-10-05 - [5eed2620](5eed262001
) roon-server: 100700710 -> 100800753 - [b3001375](b30013757b
) kube3d: 4.1.1 -> 4.2.0 - [26488dcb](26488dcb07
) zef: 0.9.4 -> 0.11.4 - [a6fa7963](a6fa79639a
) inxi: 3.3.00-1 -> 3.3.01-1 - [01cf96d0](01cf96d087
) Fix powerline 2.8 to build on OSX - [8a1e4e72](8a1e4e72a7
) lobster: fix unstableGitUpdater call - [992ce81d](992ce81d94
) lobster: unstable-2020-10-04 -> unstable-2020-12-25 - [5fd817e6](5fd817e68b
) smlpkg: init at 0.1.5 - [ed6ccd4b](ed6ccd4b27
) chromiumDev: 90.0.4408.0 -> 90.0.4412.3 - [73bb0589](73bb0589a5
) apt-cacher-ng: 3.5 -> 3.6 - [353fa1b1](353fa1b180
) mark: 5.0 -> 5.2 ([NixOS/nixpkgs#112511](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/112511)) - [9d2ccbbf](9d2ccbbfa9
) seaweedfs: 2.23 -> 2.24 ([NixOS/nixpkgs#112531](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/112531)) - [29a15e2c](29a15e2c1f
) stripe-cli: 1.5.8 -> 1.5.9 ([NixOS/nixpkgs#112534](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/112534)) - [7773122e](7773122eec
) python3Packages.imbalanced-learn: fix tests - [d4184932](d4184932e2
) bacula: 11.0.0 -> 11.0.1 - [5c53c075](5c53c07528
) Update pkgs/development/python-modules/powerline/default.nix - [5703cbdb](5703cbdb45
) sleuthkit: 4.6.5 -> 4.10.1 - [3b2773da](3b2773da44
) podofo: 0.9.6 -> 0.9.7 - [0122f51d](0122f51d9e
) connman: 1.38 -> 1.39 - [55bce00c](55bce00cea
) scribusUnstable: fix build with podofo 0.9.7 - [1ddc6833](1ddc68333b
) piston-cli: init at 1.2.1 - [2ed94d81](2ed94d81cd
) compsize: 1.4 -> 1.5 - [bc48e949](bc48e9499f
) dwl: init at 0.1 - [fc07db41](fc07db417a
) lucky-cli: 0.25.0 -> 0.26.0 - [8d8c27fb](8d8c27fb68
) compsize: update license to gpl2Plus - [ac278416](ac2784162f
) nodejs-12_x: 12.20.1 -> 12.20.2 - [edd386ea](edd386ea7f
) haproxy: use default clang - [3ec826f4](3ec826f45d
) mumble: 1.3.3 -> 1.3.4 - [7518755a](7518755a88
) electron_11: 11.2.1 -> 11.2.3 - [60bbbec0](60bbbec01c
) electron_10: 10.3.0 -> 10.3.2 - [389a07a2](389a07a250
) electron_9: 9.4.1 -> 9.4.3 - [f294808d](f294808d54
) kustomize: 3.9.3 -> 3.10.0 - [8d553802](8d553802c7
) perlPackages.FutureAsyncAwait: 0.47 -> 0.48 - [8da44a02](8da44a027d
) mumble: fix checksum - [fbabab7b](fbabab7b16
) nixos/hercules-ci-agent: Format with nixpkgs-fmt - [0c229577](0c22957751
) nixos/hercules-ci-agent: Improve concurrentTasks option doc - [460ba46a](460ba46a4a
) nixos/hercules-ci-agent: Add myself to meta.maintainers - [be7906e6](be7906e6ee
) ghdl: unstable-2021.01.14 -> 1.0.0 - [5def007f](5def007f40
) ghdl-yosys: 2021.01.01 -> 2021.01.25 - [488be8ae](488be8ae55
) gpxsee: 8.3 -> 8.5 - [696294ea](696294ea9f
) Improve todo - [56cea8b4](56cea8b40e
) libebml: 1.4.0 -> 1.4.1 - [95e3d2a1](95e3d2a1eb
) mkvtoolnix: 51.0.0 -> 53.0.0 - [5937a4af](5937a4aff8
) spaceFM: Avoid segfault when running under Wayland - [d08cb91f](d08cb91f18
) hound: unstable-2018-11-02 -> unstable-2021-01-26 - [54da9648](54da964882
) prometheus-flow-exporter: init at 1.1.1 - [92859ff4](92859ff489
) nixos/prometheus-flow-exporter: init module - [ed908d81](ed908d81f1
) far2l: 2019-12-14 -> 2020-12-30 ([NixOS/nixpkgs#108750](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/108750)) - [118a6ad7](118a6ad716
) xsettingsd: 1.0.0 -> 1.0.2 ([NixOS/nixpkgs#112609](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/112609)) - [89598505](8959850557
) vimPlugins: update - [245e2b0f](245e2b0f58
) mantainers: add _0qq - [be145107](be145107b3
) marvin: 21.1.0 -> 21.2.0 - [fe0892d0](fe0892d030
) python3Packages.uvloop: 0.14.0 -> 0.15.0 - [774d921e](774d921e13
) tmuxPlugins.dracula: unstable-2020-12-28 -> unstable-2021-2-09 - [f1ecf611](f1ecf61160
) python3Packages.botocore: 1.20.4 -> 1.20.5 - [aa66f4bf](aa66f4bf5a
) python3Packages.boto3: 1.17.4 -> 1.17.5 - [cf49e444](cf49e44467
) awscli: 1.19.4 -> 1.19.5 - [f72648de](f72648de31
) oh-my-zsh: 2021-01-31 → 2021-02-09 - [e71e9cc1](e71e9cc188
) lnch: 2017-02-16 -> unstable-2021-02-10 - [8eb03e27](8eb03e2758
) mpd_clientlib: rename to libmpdclient - [19a714d4](19a714d431
) tllist: 1.0.4 -> 1.0.5 - [2a5b91dd](2a5b91dd76
) terragrunt: 0.28.2 -> 0.28.3 - [6a7e9f3e](6a7e9f3e11
) yambar: init at 1.6.1 - [c2e7f9ad](c2e7f9ad61
) wbg: init at unstable-2020-08-01 - [ae099bf6](ae099bf6d1
) python37Packages.azure-mgmt-netapp: 0.15.0 -> 1.0.0 - [d3790990](d3790990b8
) zsh-autopair: init at 1.0 - [f8ada463](f8ada463e7
) androidStudioPackages.beta: 4.2.0.19 -> 4.2.0.20 - [7de86f28](7de86f2897
) androidStudioPackages.{canary,dev}: 2020.3.1.4 -> 2020.3.1.5 - [1d06cfc5](1d06cfc5bf
) Sylk: 3.0.0 -> 3.0.1 - [337aecf9](337aecf983
) androidStudioPackages: set JAVA_HOME in wrapper to bundled version - [787d555b](787d555b46
) ledger-live-desktop: 2.20.0 -> 2.21.3 - [67a99570](67a9957094
) netdata: 1.29.0 -> 1.29.1 - [d27bff27](d27bff278e
) oil: 0.8.6 -> 0.8.7 - [2a8bf558](2a8bf55892
) python3Packages.starlette: fix build - [da899ede](da899edeec
) pkgsStatic.linux-pam: Remove no longer necessary musl patches. - [65239e45](65239e45a3
) python3Packages.hatasmota: 0.2.7 -> 0.2.8 - [3d57cf6d](3d57cf6dc7
) python3Packages.GitPython: 3.1.12 -> 3.1.13 - [41aa703e](41aa703e31
) php73Packages.phpstan: 0.12.71 -> 0.12.74 - [6324544d](6324544d7e
) pkgs/iotools: Support only x86-based Linux platforms - [4398078f](4398078fb2
) cinelerra: unbreak the build (make compatible with gcc10) - [b1ba6b2c](b1ba6b2c90
) charm: 0.8.5 -> 0.8.6 - [7ec9410c](7ec9410c6a
) gimpPlugins.fourier: fix loading - [32d3da48](32d3da48bc
) gimpPlugins: Fix pluginDerivation’s installPlugins - [a03a49d2](a03a49d28f
) vimPlugins: update - [aba95379](aba9537923
) vimPlugins.vim-shellcheck: init at 2019-07-25 - [c76ad6f1](c76ad6f1af
) firefox: 85.0.1 -> 85.0.2 - [c00664e8](c00664e844
) python37Packages.graphql-core: 3.1.2 -> 3.1.3 - [6f1319a4](6f1319a4d6
) symbiyosys: fix the interpreter of the `sby` binary. - [6a865bf0](6a865bf060
) nmigen: 2020-04-02 -> 2021-02-09 - [47852516](4785251626
) nmigen-boards: 2020-02-06 -> 2021-02-09 - [08a70a12](08a70a12e7
) nmigen-soc: 2020-02-08 -> 2021-02-09 - [de5a0c69](de5a0c6916
) python37Packages.btchip: 0.1.31 -> 0.1.32 - [45476305](4547630562
) python3Packages.graphql-core: cleanup - [b38f8ae5](b38f8ae53e
) python3Packages.graphene: add missing test dependency - [44321d73](44321d73f7
) poetry2nix: 1.15.2 -> 1.15.3 - [30452cb9](30452cb987
) python3Packages.btchip: add pythonImportsCheck - [60d73310](60d73310e7
) gnome3.gpaste: 3.38.4 -> 3.38.5 - [b7910c1d](b7910c1d93
) liblinphone: 4.4.15 -> 4.4.21 - [0188ee34](0188ee34e9
) libqalculate: 3.16.0 -> 3.16.1 - [b898fe25](b898fe25fd
) libxls: 1.6.1 -> 1.6.2 - [19fa94d0](19fa94d020
) ibus-engines.table: 1.9.25 -> 1.12.3 - [6088dcf9](6088dcf945
) ibus-engines.table: Fix ibus-setup-table - [707bb271](707bb2712e
) libmysqlconnectorcpp: 8.0.21 -> 8.0.23 - [283eaaff](283eaaff3e
) nixos-rebuild: use remote $PATH in buildHostCmd - [0e7742c5](0e7742c5ba
) jalv: 1.6.4 -> 1.6.6 - [4c04b4ce](4c04b4cef9
) firmware-manager: 0.1.1 -> 0.1.2 - [b033cd4b](b033cd4be9
) vips: 8.10.2 -> 8.10.5 - [3106e35a](3106e35abe
) suitesparse-graphblas: 3.3.3 -> 4.0.3 - [c81739f1](c81739f1b9
) rpm-ostree: 2020.8 -> 2021.1 - [e937d5db](e937d5db28
) ibus-engines.m17n: 1.4.3 -> 1.4.4 - [ddebd054](ddebd054e3
) gnome3.gvfs: 1.46.1 -> 1.46.2 - [56565e35](56565e3568
) gthumb: 3.10.1 -> 3.10.2 - [25c2bf8c](25c2bf8cea
) libwpe: 1.7.1 -> 1.8.0 - [0cf1f67a](0cf1f67aa1
) ddccontrol-db: 20180908 -> 20201221 - [8909b5de](8909b5de82
) ddccontrol: 0.4.4 -> 0.5.1 - [4ef8bd3d](4ef8bd3d16
) ibus-engines.libpinyin: 1.11.1 -> 1.12.0 - [34e2c2b3](34e2c2b310
) appstream: 0.13.1 -> 0.14.0
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