summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/editors/emacs-modes/elpa-packages.nix8
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; };