emacsWithPackages: use local variables correctly

This commit is contained in:
Thomas Tuegel 2016-01-20 12:43:00 -06:00
parent e6cc519856
commit 97e1258ded

View File

@ -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