summaryrefslogtreecommitdiff
path: root/ghc/ghc-bin.cabal.in
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2014-03-20 21:47:22 +0000
committerSimon Marlow <marlowsd@gmail.com>2014-03-27 12:36:14 +0000
commita6f2c852d49313fa8acea2deb3741ab86c6ef995 (patch)
tree8f3513d2e9788a37a8ca0199637d1b9dfe7ec366 /ghc/ghc-bin.cabal.in
parent6189c7674fc5c735db1a446d0b222369a3767369 (diff)
downloadhaskell-a6f2c852d49313fa8acea2deb3741ab86c6ef995.tar.gz
Don't perform permission checks for scripts named with -ghci-script (#6017)
The user explicitly requested this script on the command-line, so it's unnecessary to require that the script is also owned by the user. Also, it is currently impossible to make a GHCi wrapper that invokes a custom script without first making a copy of the script to circumvent the permissions check, which seems wrong.
Diffstat (limited to 'ghc/ghc-bin.cabal.in')
-rw-r--r--ghc/ghc-bin.cabal.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/ghc/ghc-bin.cabal.in b/ghc/ghc-bin.cabal.in
index 561c55cb7d..68338f37f7 100644
--- a/ghc/ghc-bin.cabal.in
+++ b/ghc/ghc-bin.cabal.in
@@ -48,6 +48,7 @@ Executable ghc
Extensions: ForeignFunctionInterface,
UnboxedTuples,
FlexibleInstances,
+ TupleSections,
MagicHash
Extensions: CPP, PatternGuards, NondecreasingIndentation