mirror of
https://github.com/nix-community/home-manager
synced 2024-12-24 10:49:48 +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 {
|
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;
|
||||||
|
|
Loading…
Reference in a new issue