forked from mirrors/nixpkgs
emacsPackagesNg: don't expose package functions
Remove elpaPackages, melpaStablePackages, and melpaPackages from the top-level.
This commit is contained in:
parent
a338959da6
commit
78d68b8c14
|
@ -11629,7 +11629,7 @@ let
|
|||
|
||||
inherit lib newScope stdenv;
|
||||
inherit fetchFromGitHub fetchgit fetchhg fetchurl;
|
||||
inherit emacs elpaPackages melpaPackages melpaStablePackages;
|
||||
inherit emacs texinfo;
|
||||
|
||||
trivialBuild = callPackage ../build-support/emacs/trivial.nix {
|
||||
inherit emacs;
|
||||
|
@ -11648,18 +11648,6 @@ let
|
|||
|
||||
emacs24PackagesNg = recurseIntoAttrs (emacsPackagesNgGen emacs24);
|
||||
|
||||
elpaPackages = import ../applications/editors/emacs-modes/elpa-packages.nix {
|
||||
inherit fetchurl lib stdenv texinfo;
|
||||
};
|
||||
|
||||
melpaStablePackages = import ../applications/editors/emacs-modes/melpa-stable-packages.nix {
|
||||
inherit lib;
|
||||
};
|
||||
|
||||
melpaPackages = import ../applications/editors/emacs-modes/melpa-packages.nix {
|
||||
inherit lib;
|
||||
};
|
||||
|
||||
emacsWithPackages = callPackage ../build-support/emacs/wrapper.nix { };
|
||||
emacs24WithPackages = emacsWithPackages.override { emacs = emacs24; };
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
|
||||
, lib, newScope, stdenv, fetchurl, fetchgit, fetchFromGitHub, fetchhg
|
||||
|
||||
, emacs, elpaPackages, melpaPackages, melpaStablePackages
|
||||
, emacs, texinfo
|
||||
, trivialBuild
|
||||
, melpaBuild
|
||||
|
||||
|
@ -46,6 +46,18 @@ with lib.licenses;
|
|||
|
||||
let
|
||||
|
||||
elpaPackages = import ../applications/editors/emacs-modes/elpa-packages.nix {
|
||||
inherit fetchurl lib stdenv texinfo;
|
||||
};
|
||||
|
||||
melpaStablePackages = import ../applications/editors/emacs-modes/melpa-stable-packages.nix {
|
||||
inherit lib;
|
||||
};
|
||||
|
||||
melpaPackages = import ../applications/editors/emacs-modes/melpa-packages.nix {
|
||||
inherit lib;
|
||||
};
|
||||
|
||||
packagesFun = self: with self; {
|
||||
|
||||
inherit emacs melpaBuild trivialBuild;
|
||||
|
|
Loading…
Reference in a new issue