github-actions[bot] 2478909531 flake.lock: Updating 'nixpkgs (NixOS/nixpkgs)' - 1f32038d -> 5df05c90
On branch: nixpkgs-unstable
Commits: 1f32038df1...5df05c902c

- [e49d4252](e49d425274) bctoolbox: 4.4.21 -> 4.4.24
- [d7beb9ad](d7beb9ad8c) libsigsegv: 2.12 -> 2.13
- [a7e714c7](a7e714c7a1) logrotate: 3.17.0 -> 3.18.0
- [850e8f49](850e8f4954) dasel: 1.13.1 -> 1.13.2
- [09989a2b](09989a2b4c) libosmpbf: 1.3.3 -> 1.5.0
- [003705ef](003705ef08) eclib: 20190909 -> 20210223
- [34b9463d](34b9463d8d) checkmake: init at 0.1.0-2020.11.30
- [1e36eafd](1e36eafdf3) hackage-packages.nix: automatic Haskell package set update
- [7efa803a](7efa803a4b) sage: disable intermittent test
- [4718aea8](4718aea896) sage: use slightly more robust way of getting threejs version
- [a3666f50](a3666f508f) netplan: init at 0.101
- [c9f1c147](c9f1c147c3) ssh-import-id: 5.8 -> 5.11
- [abf5397c](abf5397c1e) leatherman: 1.12.3 -> 1.12.4
- [9891d018](9891d0187d) libdsk: 1.5.12 -> 1.5.14
- [0a98f5a0](0a98f5a0e2) kea: 1.8.2 -> 1.9.3
- [eddb81cc](eddb81ccd8) ocsigen-i18n: 3.5.0 -> 3.7.0
- [7dc5a5c9](7dc5a5c96c) dwl: 0.1 -> 0.2
- [4cc0d672](4cc0d67280) libofx: 0.9.15 -> 0.10.0
- [1b5aea9a](1b5aea9a7a) s3fs: 1.88 -> 1.89
- [01d6cbc5](01d6cbc533) mcelog: 173 -> 175
- [b7910e7f](b7910e7fee) matterircd: 0.20.0 -> 0.22.0
- [7043f00a](7043f00adc) ocamlPackages.ocp-index: 1.2.1 -> 1.2.2
- [c33e84e6](c33e84e655) mongodb-compass: 1.23.0 -> 1.24.6
- [82ec27d3](82ec27d3ff) refind: 0.13.0 -> 0.13.1
- [1cdbaf46](1cdbaf46c0) haskellPackages.yarn2nix: unbreak build
- [4fb330d3](4fb330d334) purescript: 0.13.8 -> 0.14.0
- [36aa10c0](36aa10c0ea) ocamlPackages.ppx_bap: init at 0.14
- [554827b5](554827b5a7) ocamlPackages.bap: 2.1.0 → 2.2.0
- [24e5a778](24e5a77861) octave.pkgs: stdenv.lib -> lib
- [c98cf3c3](c98cf3c34b) mediastreamer: 4.4.13 -> 4.4.24
- [870dbb75](870dbb751f) man-pages: 5.09 -> 5.10
- [f2831e3c](f2831e3cfe) lldpd: 1.0.7 -> 1.0.8
- [bb1dc390](bb1dc39057) sqldiff, sqlite-analyzer: fix sha256
- [0d82e2b8](0d82e2b847) jruby: 9.2.14.0 -> 9.2.15.0
- [be4c6fe4](be4c6fe4c8) libfprint: 1.90.5 -> 1.90.7
- [032ed6ca](032ed6ca4b) libfprintd: enable tests
- [aedef77f](aedef77f10) fprintd: 1.90.1 → 1.90.9
- [868a23ba](868a23baeb) ortp: 4.4.9 -> 4.4.24
- [d4acd16a](d4acd16abc) python3Packages.prawcore: 1.5.0 -> 2.0.0
- [287ef70b](287ef70bb3) python3Packages.praw: 7.1.4 -> 7.2.0
- [966e16c0](966e16c005) mpd: 0.22.5 -> 0.22.6
- [6d712841](6d7128414c) python3Packages.adblock: use meta instead of passthru.meta
- [84ed14ac](84ed14ac60) vorta: 0.7.3 -> 0.7.4
- [a439e0ef](a439e0ef6e) gcc10: Pass langJit to preConfigure
- [f6ec987d](f6ec987dd3) plexRaw: 1.21.4.4054-bab510e86 -> 1.21.4.4079-1b7748a7b
- [02b4f95f](02b4f95f78) ocamlPackages.stdlib-shims: 0.1.0 → 0.3.0
- [596bcdaf](596bcdaf93) anki-bin: 2.1.38 -> 2.1.40
- [8066dd61](8066dd61a3) libglvnd: Add myself as maintainer
- [c6f1dc23](c6f1dc2320) libglvnd: Switch to the new official repository
- [7c2dcbc4](7c2dcbc467) lazarus: 2.0.10-2 -> 2.0.12
- [3389b876](3389b87674) salt: 3002.2 -> 3002.5
- [5a2bb448](5a2bb448e1) emacs.pkgs.telega: Apply patch to always prefer fixed store path to server
- [ed0a29c8](ed0a29c88d) nixos/test/ksm: add simple test
- [525811c1](525811c181) pytest-timeout: remove test
- [ed113c9b](ed113c9bd5) tdesktop: 2.6.0 -> 2.6.1
- [75da00ca](75da00cacd) haskellPackages.haskell-language-server: Fix build
- [78e35961](78e3596121) sourcetrail: fix darwin build ([NixOS/nixpkgs⁠#112795](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/112795))
- [1444504e](1444504e4b) haskellPackages.cabal-install: Fix build for 3.4.0.0
- [19fca6f4](19fca6f483) babashka: sync native-image arguments with upstream
- [f8645e3b](f8645e3b4a) python3Packages.python-awair: init at 0.2.1
- [9625b922](9625b922a3) home-assistant: update component-packages
- [8bdca7d2](8bdca7d22d) python3Packages.simplehound: init at 0.6
- [19fac4d0](19fac4d078) home-assistant: update component-packages
- [455cb9f9](455cb9f913) FreeCAD: add spacenav support
- [a45a1b23](a45a1b2318) nats-streaming-server: 0.19.0 -> 0.20.0
- [8e5a172d](8e5a172d0c) git-credential-gopass: init at 1.12.0 ([NixOS/nixpkgs⁠#114457](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/114457))
- [5f1345a3](5f1345a303) nixos/containers: styling improvements
- [336ef2de](336ef2de99) nixos/containers: allow containers with long names to create private networks
- [32b5534f](32b5534f73) emacs.pkgs.pdf-tools: Remove references to dev outputs in epdfinfo
- [92f2c8b4](92f2c8b4ac) firefox-bin: Remove alsa/libpulseaudio dev outputs
- [218353d3](218353d3f0) clips: 6.30 -> 6.31; supersedes and closes [NixOS/nixpkgs⁠#109914](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/109914) ([NixOS/nixpkgs⁠#114132](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/114132))
- [f78f6cd3](f78f6cd339) llvmPackages_11.openmp: make it compile on aarch64-darwin
- [ef13a212](ef13a2129b) libglvnd: disable asm on aarch64-darwin
- [c18c9e0a](c18c9e0a36) cockatrice: 2020-08-23-Release-2.7.5 -> 2021-01-26-Release-2.8.0
- [3bd0b03f](3bd0b03fb3) tox-node: fix build
- [ea3e9d55](ea3e9d551d) python3Packages.slack-sdk: 3.3.0 -> 3.4.0
- [1f810ac9](1f810ac9da) git-annex: update to new version 8.20210223
- [b10ff8e9](b10ff8e990) hackage2nix: update list of broken packages to fix evaluation errors on Hydra
- [3864dcea](3864dcea59) monit: add ryantm to maintainers
- [15834f46](15834f4673) hackage2nix: update list of broken packages to fix evaluation errors on Hydra
- [d2aeeb0d](d2aeeb0d20) webkitgtk: remedy the build's confusion about the meaning of "truth"
- [4e328c8c](4e328c8c30) haskell-regex-base: drop obsolete patch for ghc-9.0.x
- [09dd4a7e](09dd4a7ea0) cabal-install: fix build with ghc-9.0.x
- [b785d3bb](b785d3bb27) bspwm/unstable.nix: clean up unused file
- [c5218b52](c5218b5245) rebol/default.nix: remove unused file
- [64187ae1](64187ae13f) haskell-text-icu: remedy a fatal absence of truth in the build
- [6e156276](6e1562761b) configuration-common: cosmetic
- [c1157b0b](c1157b0ba5) hackage-packages.nix: automatic Haskell package set update
- [5e401dcd](5e401dcd2b) alacritty: fix build
- [48052ca0](48052ca0dd) nixos/ksm: remove udev-settle dependency
- [f7aa0b45](f7aa0b4575) haskell-prettyprinter: disable the freakin' test suite
- [c801ffd4](c801ffd4a3) emacs: Use --with-native-compilation instead of --with-nativecomp
- [7ee7b5de](7ee7b5deec) mdsh: 0.5.0 -> 0.6.0
- [bdfd5011](bdfd50116a) Revert "mdsh: 0.5.0 -> 0.6.0"
- [a533bbef](a533bbef70) haskell-brittany: disable the freakin' test suite
- [2c9d7ee3](2c9d7ee369) R: 4.0.3 -> 4.0.4
- [1585a04b](1585a04bcb) webwormhole: init at git-2021-01-16 ([NixOS/nixpkgs⁠#114269](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/114269))
- [17024be1](17024be1d1) nixos/tests: add musescore
- [64f189c8](64f189c8a0) klayout: 0.26.8 -> 0.26.9
- [4d89f508](4d89f50881) jmol: 14.31.18 -> 14.31.24
- [c796cc4e](c796cc4eac) opkg: 0.4.3 -> 0.4.4
- [124e53af](124e53af2c) php73Packages.composer2: 2.0.9 -> 2.0.11
- [36b8a95d](36b8a95d48) zsh-fzf-tab: unstable-2021-01-24 -> unstable-2021-02-14
- [5bbfc16b](5bbfc16b28) python37Packages.adafruit-platformdetect: 3.1.1 -> 3.2.0
- [73068649](7306864977) z3: Add output for Java bindings (*.jar and *.so)
- [4a87fe66](4a87fe669f) python37Packages.censys: 1.1.0 -> 1.1.1
- [9d9ecfff](9d9ecfffb9) python3Packages.pyswitchbot: init at 0.9.1
- [bbd80791](bbd80791e0) home-assistant: update component-packages
- [0dc64d5d](0dc64d5d71) python: fix full builds by referring to the correct interpreter
- [4a2934f0](4a2934f0e6) python37Packages.libversion: 1.2.1 -> 1.2.2
- [5ea6b908](5ea6b90822) adoptopenjdk-bin, zulu, graalvm11-ce: do not wrap jspawnhelper
- [6ca5b800](6ca5b8005f) nim: 1.4.2 -> 1.4.4
- [5ad7fb28](5ad7fb28f6) treewide/php-packages: Drop pkgs from arguments to packages
- [e41a34bb](e41a34bb02) php.packages.composer: 1.10.15 -> 2.0.11
- [89dacdd7](89dacdd7a5) php.packages.composer1: init at 1.10.15
- [ad990d49](ad990d49aa) php.packages.composer2: deinit package since main package is updated
- [01f1773e](01f1773e8e) trezord: don't trigger systemd-udev-settle
- [6a0b4ab7](6a0b4ab7be) wpa_supplicant: add CVE-ID for P2P provision discovery proccessing vuln.
- [0dfc7073](0dfc707376) pulumi-bin: 2.19.2 -> 2.21.2
- [ab2b32cd](ab2b32cd1a) pulumi-bin: refactor output creation
- [1c264973](1c26497371) ocamlPackages.result: use Dune 2
- [3f110f98](3f110f988b) mdsh: 0.5.0 -> 0.6.0 ([NixOS/nixpkgs⁠#114513](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/114513))
- [adccc8b6](adccc8b65b) chromiumBeta: 89.0.4389.58 -> 89.0.4389.69
- [5240639a](5240639ab6) chromiumDev: 90.0.4421.5 -> 90.0.4427.5
- [10652db9](10652db906) ocamlPackages.mmap: use Dune 2
- [13e7de73](13e7de73c2) python37Packages.databricks-cli: 0.14.1 -> 0.14.2
- [6c351c3d](6c351c3dbc) python37Packages.azure-mgmt-web: 1.0.0 -> 2.0.0
- [e31c4b42](e31c4b42f0) pythonPackages.json5: init at 0.9.5
- [d60f67d4](d60f67d486) python3Packages.graphtage: init at 0.2.5
- [afc28939](afc28939f7) python3Packages.graphql-relay: 3.0.0 -> 3.1.0
- [5cc881d0](5cc881d0d8) imagemagick: make 7.0 default
- [10ba3c20](10ba3c20a7) treewide: replace imagemagick7 with imagemagick
- [d3cd7c36](d3cd7c36c3) libdmtx: 0.7.4 -> 0.7.5
- [9872e4a8](9872e4a892) dmtx-utils: 0.7.4 -> 0.7.6
- [b8f50e15](b8f50e15fe) cataract: use imagemagick6
- [4b7d9b28](4b7d9b2855) perlPackages.PerlMagick: 6.89-1 -> 7.0.10
- [e13c16ec](e13c16ec75) pfstools: use imagemagick6
- [147359ee](147359ee16) perlPackages.Gtk3ImageView: disable tests
- [60267c0e](60267c0ef6) rss-glx: use imagemagick6
- [d2b35b0f](d2b35b0fc6) php-packages/mongodb: fix evaluation on darwin
- [7ac6fbfe](7ac6fbfe5a) imagemagick6: 6.9.11-60 -> 6.9.12-1 ([NixOS/nixpkgs⁠#113998](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/113998))
- [76e68963](76e6896331) python3Packages.inflect: 5.0.2 -> 5.2.0 ([NixOS/nixpkgs⁠#114557](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/114557))
- [322e538d](322e538df8) libglvnd: Improve the license information ([NixOS/nixpkgs⁠#114466](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/114466))
- [caa23be2](caa23be256) ocamlPackages.camomile: use Dune 2
- [18df480d](18df480d9b) gollum: Transfer maintainership to erictapen
- [5df05c90](5df05c902c) gollum: 5.1.2 -> 5.2.1
2021-03-15 08:53:40 +01:00
2021-01-23 17:15:48 +01:00
2021-01-23 17:15:48 +01:00
2019-10-23 13:25:43 +02:00
2021-03-12 10:53:18 +01:00
2021-01-23 17:50:22 +01:00

nix-doom-emacs

Status
Build on master Build Status on master
Build on develop Build Status on develop
Dependency updater Dependency Updater Status

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

Description
doom-emacs packaged for Nix [maintainers=@ckiee,@thiagokokada]
Readme 1.6 MiB
Languages
Nix 64.3%
Emacs Lisp 35.7%