elpaPackages: don't import all of pkgs
This commit is contained in:
parent
f7ce3cdddb
commit
a4f4d1717d
@ -1,8 +1,8 @@
|
||||
pkgs: with pkgs;
|
||||
{ fetchurl, lib, stdenv, texinfo }:
|
||||
|
||||
let
|
||||
|
||||
inherit (stdenv.lib) makeScope mapAttrs;
|
||||
inherit (lib) makeScope mapAttrs;
|
||||
|
||||
json = builtins.readFile ./elpa-packages.json;
|
||||
manifest = builtins.fromJSON json;
|
||||
@ -40,12 +40,10 @@ self:
|
||||
super = mapAttrs (mkPackage self) manifest;
|
||||
|
||||
elpaBuild = import ../../../build-support/emacs/melpa.nix {
|
||||
inherit (pkgs) lib stdenv fetchurl texinfo;
|
||||
inherit fetchurl lib stdenv texinfo;
|
||||
inherit (self) emacs;
|
||||
};
|
||||
|
||||
builtin = null;
|
||||
|
||||
markBroken = pkg: pkg.override {
|
||||
elpaBuild = args: self.elpaBuild (args // {
|
||||
meta = (args.meta or {}) // { broken = true; };
|
||||
|
@ -11648,8 +11648,9 @@ let
|
||||
|
||||
emacs24PackagesNg = recurseIntoAttrs (emacsPackagesNgGen emacs24);
|
||||
|
||||
elpaPackages =
|
||||
import ../applications/editors/emacs-modes/elpa-packages.nix pkgs;
|
||||
elpaPackages = import ../applications/editors/emacs-modes/elpa-packages.nix {
|
||||
inherit fetchurl lib stdenv texinfo;
|
||||
};
|
||||
|
||||
melpaStablePackages =
|
||||
import ../applications/editors/emacs-modes/melpa-stable-packages.nix pkgs;
|
||||
|
Loading…
Reference in New Issue
Block a user