Use ExtendedDefaultRules and OverloadedStrings
This commit is contained in:
parent
b7ba64d5d7
commit
a4a2f9b663
|
@ -44,6 +44,8 @@ rec {
|
|||
{-# LANGUAGE DeriveDataTypeable #-}
|
||||
{-# LANGUAGE TemplateHaskell #-}
|
||||
{-# LANGUAGE QuasiQuotes #-}
|
||||
{-# LANGUAGE OverloadedStrings #-}
|
||||
{-# LANGUAGE ExtendedDefaultRules #-}
|
||||
|
||||
import Shh
|
||||
import qualified Prelude
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue