1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-22 22:48:31 +02:00

emacs: add version for default.el package

A recent change[1] in Nixpkgs makes version attribute non-optional.

[1]: https://github.com/NixOS/nixpkgs/pull/253448
This commit is contained in:
Lin Jian 2023-09-08 09:00:58 +08:00
parent f1d4f49e71
commit 19c6a4081b
No known key found for this signature in database
GPG Key ID: A6698D36434F75A5

View File

@ -19,6 +19,7 @@ let
userConfig = epkgs.trivialBuild {
pname = "default";
src = pkgs.writeText "default.el" cfg.extraConfig;
version = "0.1.0";
packageRequires = packages;
};
in packages ++ optional (cfg.extraConfig != "") userConfig;