1
0
Fork 0

Use ExtendedDefaultRules and OverloadedStrings

This commit is contained in:
Malte Brandy 2019-10-21 22:58:12 +02:00
parent b7ba64d5d7
commit a4a2f9b663
No known key found for this signature in database
GPG key ID: 226A2D41EF5378C9
2 changed files with 3 additions and 1 deletions

View file

@ -44,6 +44,8 @@ rec {
{-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE QuasiQuotes #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE ExtendedDefaultRules #-}
import Shh
import qualified Prelude

View file

@ -9,7 +9,7 @@ in {
getNivPath name = get_niv_path "${configPath}/nix/sources.nix" name |> captureTrim
getNivAssign name = tag <$> getNivPath name
where tag str = ["-I", [i|#{name :: String}=#{str :: LBS.ByteString}|]]
where tag str = ["-I", [i|#{name :: String}=#{str :: LBS.ByteString}|]] :: [String]
main = do
args <- getArgs