From 740ea8730d68c9dbb89bf8d54af8521f98129218 Mon Sep 17 00:00:00 2001 From: Lin Jian Date: Fri, 8 Sep 2023 09:00:58 +0800 Subject: [PATCH] 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 --- modules/programs/emacs.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/programs/emacs.nix b/modules/programs/emacs.nix index dfab66cf1..7f573c79f 100644 --- a/modules/programs/emacs.nix +++ b/modules/programs/emacs.nix @@ -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;