summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2015-06-16 12:32:46 +0200
committerPeter Simons <simons@cryp.to>2015-06-16 13:02:28 +0200
commit8a8ed5fa1b7746caeed463963719e1c6744e69c4 (patch)
treedd249da996907acabb1b64f27aa75935b79ea028 /pkgs
parentfbe153989ccd8ba4955e16bd44e2ffcc9a9710cc (diff)
downloadnixpkgs-8a8ed5fa1b7746caeed463963719e1c6744e69c4.tar
nixpkgs-8a8ed5fa1b7746caeed463963719e1c6744e69c4.tar.gz
nixpkgs-8a8ed5fa1b7746caeed463963719e1c6744e69c4.tar.bz2
nixpkgs-8a8ed5fa1b7746caeed463963719e1c6744e69c4.tar.lz
nixpkgs-8a8ed5fa1b7746caeed463963719e1c6744e69c4.tar.xz
nixpkgs-8a8ed5fa1b7746caeed463963719e1c6744e69c4.tar.zst
nixpkgs-8a8ed5fa1b7746caeed463963719e1c6744e69c4.zip
ghcjs: unbreak syntax highlighting in Emacs
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/compilers/ghcjs/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/ghcjs/default.nix b/pkgs/development/compilers/ghcjs/default.nix
index 06588ec949b..65988901de7 100644
--- a/pkgs/development/compilers/ghcjs/default.nix
+++ b/pkgs/development/compilers/ghcjs/default.nix
@@ -103,7 +103,7 @@ in mkDerivation (rec {
 
     # Make the patches be relative their corresponding package's directory.
     # See: https://github.com/ghcjs/ghcjs-boot/pull/12
-    for patch in $topDir/ghcjs-boot/patches/*.patch; do
+    for patch in "$topDir/ghcjs-boot/patches/"*.patch; do
       echo "fixing patch: $patch"
       sed -i -e 's@ \(a\|b\)/boot/[^/]\+@ \1@g' $patch
     done