Merge pull request #27921 from mdorman/emacs-wrapper-fix
Fix emacs wrapper expression to honor bash array use
This commit is contained in:
commit
e84c717df6
|
@ -80,7 +80,8 @@ stdenv.mkDerivation {
|
||||||
linkPath "$1" "share/emacs/site-lisp" "share/emacs/site-lisp"
|
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
|
linkEmacsPackage $pkg
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue