### Changes for nixpkgs On branch: nixpkgs-unstable Commits:db6e089456...16105403bd
- [e2826783](e282678367
) pythonPackages.uncertainties: 3.1.5 -> 3.1.6 - [0066d898](0066d898c9
) openrct2: 0.3.3 -> 0.3.4 - [6554384a](6554384a70
) boolector: 3.2.1 -> 3.2.2 - [f796ccd0](f796ccd00a
) vimPlugins: update - [58fc777b](58fc777b22
) vimPlugins.taboo-vim: init at 2019-08-27 - [b7320b32](b7320b325d
) python3.pkgs.rtoml: 0.6.1 -> 0.7 - [51f6c77e](51f6c77e0c
) bottom: 0.6.2 -> 0.6.3 - [c39aafa6](c39aafa62b
) chezmoi: 2.1.1 -> 2.1.2 - [ca2db83a](ca2db83adc
) csound: 6.16.0 -> 6.16.2 - [174d8c0d](174d8c0d3f
) lsix: init at 1.7.4 - [1e462be4](1e462be4eb
) python3Packages.ansible-core: 2.11.2 -> 2.11.3 - [32d56411](32d5641120
) python3Packages.ansible-base: 2.10.11 -> 2.10.12 - [dc1137bc](dc1137bc98
) python3Packages.ansible-core.collections: 4.1.0 -> 4.2.0 - [a9206d8c](a9206d8c4c
) python3Packages.ansible: 2.9.23 -> 2.9.24 - [1caa4f94](1caa4f9452
) docker-buildx: 0.5.1 -> 0.6.0 - [f5d25401](f5d2540160
) temporal: 1.10.5 -> 1.11.1 - [547c3caf](547c3caf30
) du-dust: 0.6.0 -> 0.6.1 - [8115c9c7](8115c9c7bc
) exoscale-cli: 1.36.0 -> 1.37.0 - [1fa595db](1fa595db42
) yoda: apply patch to fix a minor bug in yodascale - [b7e8dc0a](b7e8dc0a0c
) flow: 0.155.0 -> 0.155.1 - [1f7681c8](1f7681c8b6
) frugal: 3.14.5 -> 3.14.6 - [112de3a3](112de3a3f6
) i3lock-blur: init at 2.10 - [9a846d9b](9a846d9be4
) containerd: 1.5.2 -> 1.5.4 - [1cf78b53](1cf78b53af
) nixos/cri-o: Add RFC42 'settings' option - [8e6c4f9a](8e6c4f9a2e
) nixos/cri-o: Remove unnecessary `lib.` qualifiers - [7594db62](7594db6233
) istioctl: 1.10.2 -> 1.10.3 - [a96e02a8](a96e02a808
) vscode-extensions.hashicorp.terraform: 2.13.1 -> 2.13.2 - [50270094](5027009432
) kmon: 1.5.3 -> 1.5.4 - [0d70345e](0d70345ec2
) kotlin: 1.5.20 -> 1.5.21 - [3e61e156](3e61e15688
) node2nix: Fix hashes for patches - [0b39735c](0b39735cdd
) rm-improved: init at 0.13.0 - [bf975558](bf97555848
) kubernetes: 1.21.2 -> 1.21.3 - [80d24e88](80d24e8856
) cypress: 7.7.0 -> 8.0.0 - [6e001c1a](6e001c1ace
) perlPackages.BKeywords: 1.21 -> 1.22 - [5c660814](5c6608144f
) chromiumBeta: 92.0.4515.101 -> 92.0.4515.107 - [b9e49d25](b9e49d257c
) xob: remove myself as maintainer - [4eeb4167](4eeb416787
) libwebsockets: cleanup - [0a0f6ab8](0a0f6ab848
) firecracker: use dontConfigure - [3e75263c](3e75263ca7
) lnd: 0.13.0-beta -> 0.13.1-beta - [07b9fef4](07b9fef470
) libtiff: revert to previous version on aarch64-darwin - [8503fe22](8503fe2241
) amass: 3.13.3 -> 3.13.4 ([NixOS/nixpkgs#130727](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/130727)) - [46de2b8f](46de2b8ffb
) pythonPackages.crate: mark broken ([NixOS/nixpkgs#130017](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/130017)) - [b98c1d17](b98c1d1789
) bitwig-studio: 4.0 -> 4.0.1 - [34a9c0da](34a9c0daf5
) Revert "proj: 7.2.1 -> 8.0.1" + patch the test - [b53692cd](b53692cdc6
) Revert "osm2xmap: mark as broken" - [d6f3b3f0](d6f3b3f01a
) osinfo-db: deprecate phases - [917e9707](917e97076e
) vue: deprecate phases - [0e9e0403](0e9e040375
) dotnetPackages.Nuget: deprecate phases - [abdbec43](abdbec434a
) reckon: deprecate phases - [ade7d559](ade7d55936
) papertrail: deprecate phases - [9cdaede5](9cdaede5ab
) ledger2beancount: deprecate phases - [9bd010b9](9bd010b956
) fastlane: deprecate phases - [b82f92c1](b82f92c1f6
) maphosts: deprecate phases - [833a6087](833a6087b9
) ubidump: deprecate phases - [5df11293](5df11293fe
) ditaa: deprecate phases - [10af5753](10af5753c9
) collectd-data: deprecate phases - [67d0658e](67d0658e65
) ossec: remove phases - [f145d62c](f145d62cad
) cri-o-unwrapped: 1.21.1 -> 1.21.2 - [aef1db45](aef1db45b3
) ossec: convert to pname + version; cleanup - [4b518a31](4b518a3132
) maphosts: convert to pname + version - [72775d4e](72775d4ea4
) nix-prefetch: cleanup - [2e09265a](2e09265a54
) nix-template: 0.1.1 -> 0.1.4 ([NixOS/nixpkgs#130580](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/130580)) - [6cafd781](6cafd781ca
) nix-script: remove phases ([NixOS/nixpkgs#130742](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/130742)) - [25404a34](25404a3418
) emv: deprecate phases - [d36cf5c0](d36cf5c023
) gibo: remove phases - [928c7dbb](928c7dbb61
) firefox-bin: 90.0 -> 90.0.1 - [1ad4db95](1ad4db95fb
) firefox: 90.0 -> 90.0.1 - [fc125d06](fc125d06bc
) taskwarrior: Remove space from URL - [21b39527](21b39527bf
) warrant: Remove space from URL - [c48be3c1](c48be3c17d
) copy-tarballs.pl: Handle SRI hashes - [105602b5](105602b5ae
) roundcube: remove composer.json-dist to prevent roundcube from trying to update composer.json - [5143ab9f](5143ab9f74
) tigervnc, tightvnc: add basic tests - [cfb935c5](cfb935c549
) tigervnc: remove fontDirectories - [dbbbb190](dbbbb190b1
) palemoon: 29.2.1 -> 29.3.0 - [d96748cf](d96748cf42
) pantheon.elementary-sound-theme: 1.0 -> 1.1.0 - [0776027a](0776027aad
) nerdctl: 0.10.0 -> 0.11.0 - [8ba51139](8ba51139bf
) ix: deprecate phases - [b2144985](b214498527
) plowshare: deprecate phases - [1aa335e9](1aa335e942
) ponysay: remove phases - [5070a55b](5070a55b5b
) pws: deprecate phases - [e66237af](e66237af15
) nixStable: 2.3.12 -> 2.3.14 - [a94dba42](a94dba429b
) maintainers: add DeeUnderscore - [87c2751d](87c2751d0b
) libbass: fix sha256sum - [8adb7faf](8adb7faf49
) ultrastar-manager: deprecate phases - [835dedfd](835dedfdbd
) streamlink: 2.1.1 -> 2.2.0 - [8c9748cd](8c9748cd5e
) llvmPackages_11.libclc: 2019-06-09 -> 11.0.1 ([NixOS/nixpkgs#111065](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/111065)) - [f8dc8497](f8dc849739
) mtools: 3.0.31 -> 4.0.33 - [918af176](918af17672
) powerline-go: 1.21.0 -> 2021-07-15 - [ab7a73a2](ab7a73a286
) ponysay: cleanup, pname + version - [89271903](89271903b3
) pws: convert to pname + version - [61e0f211](61e0f21153
) pylsp-mypy: init at 0.5.1 ([NixOS/nixpkgs#130642](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/130642)) - [01db7741](01db77414a
) ditaa: convert to pname + version; cleanup ([NixOS/nixpkgs#130758](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/130758)) - [528e90ad](528e90adf2
) fast-cli: 1.0.0 -> 3.0.1 ([NixOS/nixpkgs#130698](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/130698)) - [fd1ab319](fd1ab319b7
) logisim: cleanup - [50e45c0f](50e45c0f96
) powerline-go: fix version number - [9b3e240b](9b3e240b24
) maintainers: add heph2 - [6671b113](6671b113bd
) telescope: init at 0.3.1 - [bbdf2e93](bbdf2e931a
) squashfs-tools-ng: 1.1.1 -> 1.1.2 - [e6592586](e6592586d5
) eclair: init at 0.6.1 - [6ddefbdd](6ddefbdd3c
) zellij: 0.14.0 -> 0.15.0 - [31990d01](31990d01dc
) osu-lazer: 2021.707.0 -> 2021.720.0 - [a015aaf1](a015aaf1c9
) dotnetPackages.Nuget: fix runtime error - [cff54843](cff5484394
) cascadia-code: 2105.24 -> 2106.17 - [013fe001](013fe00139
) anki-bin: install desktop entry and man page - [3e3e5dcc](3e3e5dcc17
) andika: 6.000 -> 6.001 - [3c093fd0](3c093fd023
) folks: 0.15.2 -> 0.15.3 - [0ad752fe](0ad752febe
) sqlfluff: 0.6.0 -> 0.6.1 - [53b07b7f](53b07b7f33
) CopyQ: 3.13.0 -> 4.1.0 - [5d01b520](5d01b52010
) corerad: 0.3.2 -> 0.3.3 - [d3c568e1](d3c568e16a
) nixos/clipcat: add user service module - [1916bd87](1916bd8717
) mill: 0.9.8 -> 0.9.9 - [f150d0a6](f150d0a6bd
) fetchurl: replace dead sourceforge mirrors ([NixOS/nixpkgs#130834](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/130834)) - [2cc8ecd2](2cc8ecd237
) tfsec: 0.48.7 -> 0.50.3 - [5f496e0d](5f496e0da3
) gnome.gnome-desktop: 40.1 -> 40.3 - [34141d22](34141d226a
) exploitdb: 2021-07-17 -> 2021-07-20 - [c00d507f](c00d507f97
) go: enable MIPS GOARCH/cross integration - [af9ea494](af9ea49430
) chromiumBeta: Temporarily build on Hydra - [1249c9a1](1249c9a174
) gh: 1.12.1 -> 1.13.1 - [5d55727b](5d55727b30
) gnome.gnome-shell: 40.2 -> 40.3 - [4711f4b6](4711f4b61e
) pythonPackages.teletype: init at 1.1.0 ([NixOS/nixpkgs#130871](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/130871)) - [b8297c00](b8297c00c9
) ci: add no-channel check ([NixOS/nixpkgs#109543](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/109543)) - [4a338e33](4a338e3317
) hashcat: 6.2.2 -> 6.2.3 ([NixOS/nixpkgs#130870](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/130870)) - [16105403](16105403bd
) gpgme: upstream patch for failing test
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