mirror of
https://github.com/nix-community/home-manager
synced 2024-12-24 18:59:47 +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:
parent
f1d4f49e71
commit
19c6a4081b
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue