1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-11 05:39:44 +01: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 committed by Mikilio
parent 9447730c9a
commit 740ea8730d
No known key found for this signature in database
GPG key ID: 5B2F1A890CF33F3F

View file

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