emacsPackagesFor: Internalise trivialBuild/melpaBuild
I want less strangeness that's not obviously overrideable.
This commit is contained in:
@@ -35,14 +35,20 @@
|
||||
{ lib, newScope, stdenv, fetchurl, fetchFromGitHub, runCommand, writeText
|
||||
|
||||
, emacs, texinfo, lndir, makeWrapper
|
||||
, trivialBuild
|
||||
, melpaBuild
|
||||
|
||||
, pkgs
|
||||
}:
|
||||
|
||||
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 {
|
||||
inherit lib stdenv texinfo writeText;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user