emacsPackagesFor: Internalise trivialBuild/melpaBuild
I want less strangeness that's not obviously overrideable.
This commit is contained in:
parent
9647372202
commit
b673be8336
@ -21952,14 +21952,6 @@ in
|
|||||||
inherit fetchFromGitHub fetchurl;
|
inherit fetchFromGitHub fetchurl;
|
||||||
inherit emacs texinfo makeWrapper runCommand writeText;
|
inherit emacs texinfo makeWrapper runCommand writeText;
|
||||||
inherit (xorg) lndir;
|
inherit (xorg) lndir;
|
||||||
|
|
||||||
trivialBuild = callPackage ../build-support/emacs/trivial.nix {
|
|
||||||
inherit emacs;
|
|
||||||
};
|
|
||||||
|
|
||||||
melpaBuild = callPackage ../build-support/emacs/melpa.nix {
|
|
||||||
inherit emacs;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit (gnome3) empathy;
|
inherit (gnome3) empathy;
|
||||||
|
@ -35,14 +35,20 @@
|
|||||||
{ lib, newScope, stdenv, fetchurl, fetchFromGitHub, runCommand, writeText
|
{ lib, newScope, stdenv, fetchurl, fetchFromGitHub, runCommand, writeText
|
||||||
|
|
||||||
, emacs, texinfo, lndir, makeWrapper
|
, emacs, texinfo, lndir, makeWrapper
|
||||||
, trivialBuild
|
|
||||||
, melpaBuild
|
|
||||||
|
|
||||||
, pkgs
|
, pkgs
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
|
trivialBuild = pkgs.callPackage ../build-support/emacs/trivial.nix {
|
||||||
|
inherit emacs;
|
||||||
|
};
|
||||||
|
|
||||||
|
melpaBuild = pkgs.callPackage ../build-support/emacs/melpa.nix {
|
||||||
|
inherit emacs;
|
||||||
|
};
|
||||||
|
|
||||||
mkElpaPackages = import ../applications/editors/emacs-modes/elpa-packages.nix {
|
mkElpaPackages = import ../applications/editors/emacs-modes/elpa-packages.nix {
|
||||||
inherit lib stdenv texinfo writeText;
|
inherit lib stdenv texinfo writeText;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user