### Changes for nixpkgs On branch: nixpkgs-unstable Commits:a174de16ed...8f73de28e6
- [777e914c](777e914c20
) nixos/systemd.network: Add `RequiredFamilyForOnline` to `linkConfig` - [88a9ab2c](88a9ab2ca9
) beets: expose enabled plugins in passthru - [9b6965dc](9b6965dcfc
) nixos: add lighttpd test - [90b3a5b9](90b3a5b927
) lighttpd: link nixosTests.lighttpd to passthru.tests - [e3f457d7](e3f457d720
) maintainers: add patryk4815 - [54f19d3e](54f19d3ee7
) matomo: 4.5.0 -> 4.10.1 - [919b82ba](919b82bacf
) prometheus-influxdb-exporter: 0.8.0 -> 0.10.0 - [0672e679](0672e6797f
) gitlab-runner: 15.1.0 -> 15.2.0 - [77bdbd88](77bdbd88b5
) irqbalance: 1.8.0 -> 1.9.0 - [285575ff](285575ffa7
) postman: add Crafter as maintainer - [02cdd56b](02cdd56bc5
) python310Packages.pex: 2.1.100 -> 2.1.101 - [1ffbd4e7](1ffbd4e737
) postman: 9.14.0 -> 9.22.2 - [15551162](15551162c5
) flexget: 3.3.21 -> 3.3.22 - [fefa4ba2](fefa4ba247
) python310Packages.soundcloud-v2: init at 1.3.1 - [3b450777](3b450777c3
) timescaledb-tune: 0.12.0 -> 0.13.0 - [6e6a5156](6e6a515607
) postgresqlPackages.timescaledb: 2.7.0 -> 2.7.2 - [27a02db5](27a02db584
) scdl: init at 2.7.2 - [5daf9994](5daf999436
) nodejs-18_x: 18.6.0 -> 18.7.0 - [5fb6003f](5fb6003f50
) python310Packages.fastcore: 1.5.6 -> 1.5.9 - [7add8300](7add830039
) linode-cli: 5.21.0 -> 5.21.0 - [b3dfa02d](b3dfa02d00
) wlopm: init at 0.1.0 - [f5c80b0c](f5c80b0c0f
) python310Packages.dominate: switch to pytestCheckHook - [8bf1e7ed](8bf1e7edb3
) hakrawler: 2.0 -> 2.1 - [ae06ec9b](ae06ec9b28
) python310Packages.parts: 1.4.0 -> 1.5.1 - [5c7881bf](5c7881bf82
) python310Packages.pydeps: 1.10.18 -> 1.10.22 - [9f9fc392](9f9fc392ca
) pip-audit: 2.4.1 -> 2.4.2 - [ba47e418](ba47e418e5
) python310Packages.pick: 1.3.0 -> 1.4.0 - [e4ab3833](e4ab3833a4
) python310Packages.faraday-plugins: 1.6.7 -> 1.6.8 - [26ca9845](26ca98459e
) python310Packages.adb-shell: Enable tests - [7d84ef8a](7d84ef8ad9
) thunderbird: 102.0.2 -> 102.0.3 - [1da61bc1](1da61bc1a4
) joshuto: 0.9.3 -> 0.9.4 - [f05adf5f](f05adf5faf
) thunderbird-bin: 102.0.2 -> 102.0.3 - [ce49cb77](ce49cb7792
) neovim: pass the --clean flag to only use wrapped rc - [30981035](30981035e4
) python310Packages.agate: Enable more tests - [06208441](0620844136
) haskellPackages.regex-tdfa: Disable disfunctional tests for older ghcs - [bd7af3c0](bd7af3c029
) pgloader: 3.6.2 -> 3.6.6 - [09d7112c](09d7112c96
) bgpq4: 1.4 -> 1.5 - [d7ee40d4](d7ee40d4ec
) cargo-edit: 0.9.0 -> 0.10.2 - [81c3bae1](81c3bae166
) python310Packages.slack-sdk: 3.18.0 -> 3.18.1 - [57055b68](57055b681f
) haskellPackages.Spock-core: build with correct reroute version - [5f323b1b](5f323b1b18
) gh: 2.14.2 -> 2.14.3 - [ee31754d](ee31754de3
) python310Packages.hydra: 1.1.1 -> 1.2.0 - [4d4f2ba1](4d4f2ba156
) python310Packages.antlr4_9-python3-runtime: init at 4.9 - [b48aef72](b48aef72e3
) python310Packages.omegaconf: 2.1.1 -> 2.2.2 - [ae78f717](ae78f71723
) haskellPackages.{superbuffer,list-t,stm-containers}: reenable tests - [f4943b31](f4943b31bc
) cargo-modules: 0.5.9 -> 0.5.10 - [dc78025c](dc78025c00
) cargo-play: 0.5.0 -> 0.5.1 - [f201a772](f201a7722c
) dune_3: 3.4.0 -> 3.4.1 - [6d559df8](6d559df867
) ocamlPackages.odoc-parser: init 1.0.1 & 2.0.0 - [6ac387a3](6ac387a3a3
) ocamlformat_0_24_0: init - [1afb5569](1afb55692d
) ocamlPackages.odoc-parser: 1.0.0 -> 2.0.0 - [98db578a](98db578afa
) ocamlformat: Support the version override - [ff7abeab](ff7abeabe9
) haskellPackages.hasql-dynamic-statements: downgrade to 0.3.1.1 - [5da403cc](5da403cc41
) python310Packages.boltons: 20.2.1 -> 21.0.0 - [35523580](35523580a9
) python310Packages.aesara: 2.7.7 -> 2.7.9 - [8c10a967](8c10a967f7
) balanceofsatoshis: add shell completion - [a4d82688](a4d82688b0
) rlaunch: init at 1.3.13 - [4e7a1d64](4e7a1d6456
) crabz: 0.7.2 -> 0.7.5 - [7206899c](7206899cbf
) nixos/i18n: add en_US.UTF-8 to default locales - [a168249d](a168249ddc
) firefox-unwrapped: 102.0.1 -> 103.0 - [8e3066f4](8e3066f49f
) firefox-bin-unwrapped: 102.0.1 -> 103.0 - [a2c4eb71](a2c4eb714d
) firefox-esr-102-unwrapped: 102.0.1esr -> 102.1.0esr - [aafd5020](aafd5020fa
) firefox-esr-91-unwrapped: 91.11.0esr -> 91.12.0esr - [d361a9f9](d361a9f90a
) spidermonkey_91: 91.11.0 -> 91.12.0 - [d4c6c0f2](d4c6c0f252
) firefox-devediton-bin-unwrapped: 103.0b1 -> 103.0b9 - [9483f20d](9483f20d10
) firefox-beta-bin-unwrapped: 103.0b1 -> 103.0b9 - [3a46b467](3a46b467ac
) emscripten: 3.1.15 -> 3.1.17 - [b08cdd38](b08cdd38b4
) csview: 1.0.1 -> 1.1.0 - [126cada5](126cada5ff
) millet: 0.2.7 -> 0.2.9 - [cd935b2d](cd935b2d96
) python310Packages.deezer-python: 5.3.3 -> 5.4.0 - [da15d8f4](da15d8f43e
) coqPackages.hierarchy-builder: enable for Coq 8.16 - [0ab119a6](0ab119a6cf
) coqPackages.mathcomp-abel: 1.2.0 → 1.2.1 - [b82d1211](b82d121152
) plan9port: update darwin inputs - [ef9826a1](ef9826a13b
) haskellPackages: mark builds failing on hydra as broken - [c2f7c090](c2f7c0902d
) python310Packages.weconnect: 0.45.0 -> 0.45.1 - [8b618c0d](8b618c0d5a
) maintainers: add myself - [e87aff30](e87aff30e5
) pythonPackages.sfepy: enable darwin - [b5b10654](b5b10654c2
) telegraf: 1.22.4 -> 1.23.3 - [f2485518](f24855188b
) python310Packages.homematicip: 1.0.6 -> 1.0.7 - [0577f723](0577f72388
) python310Packages.pydal: 20220721.1 -> 20220725.1 - [93c4b657](93c4b657d5
) vultr-cli: 2.12.2 -> 2.14.2 - [562795ba](562795ba31
) cargo-expand: 1.0.27 -> 1.0.28 - [f28e8302](f28e8302f4
) haskellPackages.conduit-aeson: unbreak - [65f8c8db](65f8c8db56
) fornalder: init at unstable-2022-07-23 - [d3f89f58](d3f89f5891
) freeradius: 3.0.25 -> 3.2.0 - [8613bd99](8613bd99b1
) bitwarden: 2022.5.1 -> 2022.6.2 - [4cd95597](4cd955979c
) bluespec: set mainProgram=bsc - [73b45ed1](73b45ed123
) all-cabal-hashes: 2022-07-21T21:13:45Z -> 2022-07-26T16:57:53Z - [548ec57e](548ec57e44
) haskellPackages.cabal2nix-unstable: 2022-07-17 -> 2022-07-22 - [b95fa37c](b95fa37c60
) nnn: 4.5 → 4.6 - [ea445844](ea445844c8
) haskellPackages: regenerate package set based on current config - [4b33be0c](4b33be0c18
) haskellPackages.nfc: 0.1.0 -> 0.1.1 - [078346d5](078346d55e
) haskell.compiler.ghc941: init at 9.4.0.20220721 - [5a1b7ea7](5a1b7ea735
) haskell.packages.ghc941.terminfo: not a core pkg if cross compiling - [4e3f3235](4e3f3235a7
) got: enable building on darwin platforms - [d30af7ad](d30af7ad94
) got: 0.73 -> 0.74 - [4468d92e](4468d92eeb
) nuclei: 2.7.4 -> 2.7.5 - [31452e9d](31452e9d0f
) python310Packages.weconnect-mqtt: 0.38.1 -> 0.38.2 - [308db8f7](308db8f762
) python310Packages.meross-iot: 0.4.4.7 -> 0.4.5.0 - [dd7b0dca](dd7b0dca7b
) haskellPackages.flac: unbreak - [41f40771](41f4077148
) mobile-broadband-provider-info: 20220511 → 20220725 - [1909ee2d](1909ee2df3
) zen-kernels: retire myself as a maintainer - [dd778e78](dd778e7878
) ferdium: 6.0.0-nightly.65 -> 6.0.0 - [1bc9503f](1bc9503fed
) talosctl: 1.1.1 -> 1.1.2 - [e2ebfa4c](e2ebfa4c43
) python310Packages.types-requests: 2.28.4 -> 2.28.5 - [f4579b3b](f4579b3bda
) hck: 0.7.1 -> 0.7.5 - [9da9722e](9da9722e43
) Add cargo-profiler package - [d7add5c4](d7add5c411
) httplz: 1.12.4 -> 1.12.5 - [614f7246](614f724649
) pineapple-pictures: 0.6.1 -> 0.6.2 - [2227d8a6](2227d8a696
) python310Packages.peaqevcore: 3.2.0 -> 3.3.0 - [afecdcc3](afecdcc311
) python310Packages.types-urllib3: 1.26.16 -> 1.26.17 - [3173592f](3173592f44
) kanboard: fix source hash - [d7c7c985](d7c7c985a2
) senpai: 2022-05-10-unstable → 2022-07-25-unstable - [0bf6e21b](0bf6e21b38
) semgrep: 0.103.0 -> 0.106.0 - [aa4613dc](aa4613dc6c
) kics: init at 1.5.12 - [2b0dd45a](2b0dd45aca
) emacsMacport: 27.2-8.3 -> 28.1-9.0 - [33065ac6](33065ac694
) vimPlugins: update - [20de20eb](20de20eb86
) vimPlugins: resolve github repository redirects - [a400056f](a400056f2d
) vimPlugins.telescope-media-files-nvim: init at 2021-10-21 - [d8dfcb73](d8dfcb73d4
) telescope-media-files-nvim: Add overrides - [6cb78bc7](6cb78bc7f8
) python310Packages.azure-core: 1.24.0 -> 1.24.2 - [6688a347](6688a347b4
) jetbrains: update - [118eea24](118eea245a
) unifi7: 7.1.66 -> 7.1.68 - [0af1562d](0af1562d4e
) just: 1.2.0 -> 1.3.0 ([NixOS/nixpkgs#182993](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/182993)) - [b3c3fa14](b3c3fa1489
) git-annex: update sha256 for 10.20220724 - [bb939ecf](bb939ecf39
) vscode-extensions: Updated op-vscode from 1.0.0 to 1.0.1 - [74010c52](74010c525b
) haskellPackages.aws: drop upstreamed patches - [2859cdb2](2859cdb25a
) vimPlugins.vim-clap: Update cargoSha256 hash - [e4e9e907](e4e9e90772
) haskellPackages.uniform-error: skip tests incompatible w/ HTF 0.15 - [e33e2ac2](e33e2ac2f2
) haskellPackages: mark builds failing on hydra as broken
nix-doom-emacs
Status | |
---|---|
Build on master |
|
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:nix-community/home-manager";
nix-doom-emacs.url = "github:nix-community/nix-doom-emacs";
};
outputs = {
self,
nixpkgs,
lib,
home-manager,
nix-doom-emacs,
...
}: {
nixosConfigurations.exampleHost = lib.nixosSystem {
system = "x86_64-linux";
modules = [
home-manager.nixosModules.home-manager
({
home-manager.users.exampleUser = lib.mkMerge [
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