From 8a8ed5fa1b7746caeed463963719e1c6744e69c4 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 16 Jun 2015 12:32:46 +0200 Subject: [PATCH] ghcjs: unbreak syntax highlighting in Emacs --- pkgs/development/compilers/ghcjs/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/compilers/ghcjs/default.nix b/pkgs/development/compilers/ghcjs/default.nix index 06588ec949b1..65988901de7a 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