diff options
author | Thomas Tuegel <ttuegel@gmail.com> | 2015-12-16 20:39:45 -0600 |
---|---|---|
committer | Thomas Tuegel <ttuegel@gmail.com> | 2015-12-17 07:23:50 -0600 |
commit | a4f4d1717d377d8d3698ed0e306e18c8278bd2a7 (patch) | |
tree | 4e63b16221e7cb1ee07cea676129419ef27163de /pkgs/applications | |
parent | f7ce3cdddb9ef7d5d5470005b2c4a481748800af (diff) | |
download | nixpkgs-a4f4d1717d377d8d3698ed0e306e18c8278bd2a7.tar nixpkgs-a4f4d1717d377d8d3698ed0e306e18c8278bd2a7.tar.gz nixpkgs-a4f4d1717d377d8d3698ed0e306e18c8278bd2a7.tar.bz2 nixpkgs-a4f4d1717d377d8d3698ed0e306e18c8278bd2a7.tar.lz nixpkgs-a4f4d1717d377d8d3698ed0e306e18c8278bd2a7.tar.xz nixpkgs-a4f4d1717d377d8d3698ed0e306e18c8278bd2a7.tar.zst nixpkgs-a4f4d1717d377d8d3698ed0e306e18c8278bd2a7.zip |
elpaPackages: don't import all of pkgs
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/editors/emacs-modes/elpa-packages.nix | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/pkgs/applications/editors/emacs-modes/elpa-packages.nix b/pkgs/applications/editors/emacs-modes/elpa-packages.nix index 0f92ded4043..7b8d429f76a 100644 --- a/pkgs/applications/editors/emacs-modes/elpa-packages.nix +++ b/pkgs/applications/editors/emacs-modes/elpa-packages.nix @@ -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; }; |