Remove some settings from hnix.cabal

This commit is contained in:
John Wiegley 2018-04-05 21:10:06 -07:00
parent a0651ad2fd
commit 9d5a7f8a27
3 changed files with 4 additions and 17 deletions

View File

@ -1,6 +1,8 @@
{-# LANGUAGE CPP #-}
{-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing #-}
module Nix.Parser (
parseNixFile,
parseNixFileLoc,

View File

@ -84,27 +84,12 @@ Library
Build-depends: parsec
else
Build-depends: trifecta
ghc-options: -Wall -fno-warn-name-shadowing
ghc-options: -Wall
Executable hnix
Default-language: Haskell2010
Main-is: Main.hs
Hs-source-dirs: main
Default-extensions:
DataKinds
DeriveDataTypeable
DeriveFunctor
DeriveGeneric
FlexibleContexts
FlexibleInstances
GADTs
KindSignatures
LambdaCase
MultiWayIf
OverloadedStrings
PatternGuards
RankNTypes
TupleSections
Build-depends:
base >= 4.3 && < 5
, hnix

View File

@ -1,6 +1,6 @@
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE MultiWayIf #-}
-- {-# LANGUAGE QuasiQuotes #-}
{-# LANGUAGE TupleSections #-}
module Main where