From f0729c16e99284363611ee4cc2a392799a654727 Mon Sep 17 00:00:00 2001 From: Arie Middelkoop Date: Fri, 14 Mar 2008 14:49:17 +0000 Subject: [PATCH] Fixed a tiny mistake in the ghc-6.6 and ghc-6.8 wrapper generation. It worked without the fix. Hopefully it still works with the fix. svn path=/nixpkgs/trunk/; revision=11128 --- pkgs/development/compilers/ghc-6.6.1/setup-hook.sh | 2 +- pkgs/development/compilers/ghc-6.6/setup-hook.sh | 2 +- pkgs/development/compilers/ghc-6.8/setup-hook.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/compilers/ghc-6.6.1/setup-hook.sh b/pkgs/development/compilers/ghc-6.6.1/setup-hook.sh index c6f769a0040..03057e82f4a 100644 --- a/pkgs/development/compilers/ghc-6.6.1/setup-hook.sh +++ b/pkgs/development/compilers/ghc-6.6.1/setup-hook.sh @@ -13,7 +13,7 @@ makeWrapper() { wrapper="$ghc_support/$wrapperName" shift #the other arguments are passed to the source app echo '#!'"$SHELL" > "$wrapper" - echo "exec \"@out@/bin/$wrapperName\" $@" '"$@"' > "$wrapper" + echo "exec \"@out@/bin/$wrapperName\" $@" '"$@"' >> "$wrapper" chmod +x "$wrapper" } diff --git a/pkgs/development/compilers/ghc-6.6/setup-hook.sh b/pkgs/development/compilers/ghc-6.6/setup-hook.sh index 23da6de0382..b8441abc98a 100644 --- a/pkgs/development/compilers/ghc-6.6/setup-hook.sh +++ b/pkgs/development/compilers/ghc-6.6/setup-hook.sh @@ -13,7 +13,7 @@ makeWrapper() { wrapper="$ghc_support/$wrapperName" shift #the other arguments are passed to the source app echo '#!'"$SHELL" > "$wrapper" - echo "exec \"$ghc/bin/$wrapperName\" $@" '"$@"' > "$wrapper" + echo "exec \"$ghc/bin/$wrapperName\" $@" '"$@"' >> "$wrapper" chmod +x "$wrapper" } diff --git a/pkgs/development/compilers/ghc-6.8/setup-hook.sh b/pkgs/development/compilers/ghc-6.8/setup-hook.sh index de4bf2192ff..faadc6b860e 100644 --- a/pkgs/development/compilers/ghc-6.8/setup-hook.sh +++ b/pkgs/development/compilers/ghc-6.8/setup-hook.sh @@ -13,7 +13,7 @@ makeWrapper() { wrapper="$ghc_support/$wrapperName" shift #the other arguments are passed to the source app echo '#!'"$SHELL" > "$wrapper" - echo "exec \"@out@/bin/$wrapperName\" $@" '"$@"' > "$wrapper" + echo "exec \"@out@/bin/$wrapperName\" $@" '"$@"' >> "$wrapper" chmod +x "$wrapper" }