From 97e1258dedf64bc4049d572f5d2e756dd6c5dfa6 Mon Sep 17 00:00:00 2001 From: Thomas Tuegel Date: Wed, 20 Jan 2016 12:43:00 -0600 Subject: [PATCH] emacsWithPackages: use local variables correctly --- pkgs/build-support/emacs/wrapper.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/build-support/emacs/wrapper.nix b/pkgs/build-support/emacs/wrapper.nix index dc4ff03f9e7..742b2cf5cde 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