Merge pull request #27921 from mdorman/emacs-wrapper-fix

Fix emacs wrapper expression to honor bash array use
This commit is contained in:
John Ericson 2017-08-04 10:07:06 -04:00 committed by GitHub
commit e84c717df6

View File

@ -80,7 +80,8 @@ stdenv.mkDerivation {
linkPath "$1" "share/emacs/site-lisp" "share/emacs/site-lisp"
}
for pkg in $requires; do
# Iterate over the array of inputs (avoiding nix's own interpolation)
for pkg in "''${requires[@]}"; do
linkEmacsPackage $pkg
done