git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #27921 from mdorman/emacs-wrapper-fix

Fix emacs wrapper expression to honor bash array use

commite84c717df69f21d3924a4716bb8c50fe2693f08a authorJohn Ericson <Ericson2314@yahoo.com> dateFri 4 Aug 2017, 10:07 (9 years ago) parent190493cef5ba4d
1 file changed+2−1
pkgs/build-support/emacs/wrapper.nix+2−1
pkgs/build-support/emacs/wrapper.nix+2−1
@@ -80,7 +80,8 @@ stdenv.mkDerivation {
8080 linkPath "$1" "share/emacs/site-lisp" "share/emacs/site-lisp"
8181 }
8282
83− for pkg in $requires; do
83+ # Iterate over the array of inputs (avoiding nix's own interpolation)
84+ for pkg in "''${requires[@]}"; do
8485 linkEmacsPackage $pkg
8586 done
8687