ghcjs: unbreak syntax highlighting in Emacs
commit8a8ed5fa1b7746caeed463963719e1c6744e69c4
authorPeter Simons <simons@cryp.to>
dateTue 16 Jun 2015, 12:32 (11 years ago)
parentfbe1539
pkgs/development/compilers/ghcjs/default.nix+1−1
@@ -103,7 +103,7 @@ in mkDerivation (rec {
103103
104104 # Make the patches be relative their corresponding package's directory.
105105 # See: https://github.com/ghcjs/ghcjs-boot/pull/12
106− for patch in $topDir/ghcjs-boot/patches/*.patch; do
106+ for patch in "$topDir/ghcjs-boot/patches/"*.patch; do
107107 echo "fixing patch: $patch"
108108 sed -i -e 's@ \(a\|b\)/boot/[^/]\+@ \1@g' $patch
109109 done