summary refs log tree commit diff
path: root/pkgs/build-support/emacs
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@gmail.com>2016-01-20 12:43:00 -0600
committerThomas Tuegel <ttuegel@gmail.com>2016-01-20 12:43:00 -0600
commit97e1258dedf64bc4049d572f5d2e756dd6c5dfa6 (patch)
treecaea38569ad11d17b0fb68f03b1f2caf863f380f /pkgs/build-support/emacs
parente6cc519856066a6be44f28e3efdc100aade2e2f0 (diff)
downloadnixlib-97e1258dedf64bc4049d572f5d2e756dd6c5dfa6.tar
nixlib-97e1258dedf64bc4049d572f5d2e756dd6c5dfa6.tar.gz
nixlib-97e1258dedf64bc4049d572f5d2e756dd6c5dfa6.tar.bz2
nixlib-97e1258dedf64bc4049d572f5d2e756dd6c5dfa6.tar.lz
nixlib-97e1258dedf64bc4049d572f5d2e756dd6c5dfa6.tar.xz
nixlib-97e1258dedf64bc4049d572f5d2e756dd6c5dfa6.tar.zst
nixlib-97e1258dedf64bc4049d572f5d2e756dd6c5dfa6.zip
emacsWithPackages: use local variables correctly
Diffstat (limited to 'pkgs/build-support/emacs')
-rw-r--r--pkgs/build-support/emacs/wrapper.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/emacs/wrapper.nix b/pkgs/build-support/emacs/wrapper.nix
index dc4ff03f9e78..742b2cf5cde6 100644
--- a/pkgs/build-support/emacs/wrapper.nix
+++ b/pkgs/build-support/emacs/wrapper.nix
@@ -51,7 +51,7 @@ stdenv.mkDerivation {
   inherit emacs explicitRequires;
   phases = [ "installPhase" ];
   installPhase = ''
-    requires=""
+    local requires
     for pkg in $explicitRequires; do
       findInputs $pkg requires propagated-user-env-packages
     done