Skip to content

Commit

Permalink
add back the "OPTIONS_GHC -Wno-orphans"
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton-Latukha committed Feb 8, 2021
1 parent efcce65 commit 574644b
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/Nix/Effects.hs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE UndecidableInstances #-}

{-# OPTIONS_GHC -Wno-orphans #-}


module Nix.Effects where

import Prelude hiding ( putStr
Expand Down
2 changes: 2 additions & 0 deletions src/Nix/Exec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE UndecidableInstances #-}

{-# OPTIONS_GHC -Wno-orphans #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing #-}


module Nix.Exec where

import Prelude hiding ( putStr
Expand Down
2 changes: 1 addition & 1 deletion src/Nix/Expr/Types.hs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE InstanceSigs #-}


{-# OPTIONS_GHC -Wno-orphans #-}
{-# OPTIONS_GHC -Wno-missing-signatures #-}

-- | The Nix expression type and supporting types.
Expand Down
1 change: 1 addition & 0 deletions src/Nix/Fresh/Basic.hs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
{-# LANGUAGE TypeApplications #-}
{-# LANGUAGE TypeSynonymInstances #-}

{-# OPTIONS_GHC -Wno-orphans #-}


module Nix.Fresh.Basic where
Expand Down
1 change: 1 addition & 0 deletions src/Nix/Standard.hs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE UndecidableInstances #-}

{-# OPTIONS_GHC -Wno-orphans #-}


module Nix.Standard where
Expand Down
1 change: 1 addition & 0 deletions src/Nix/Var.hs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE ScopedTypeVariables #-}

{-# OPTIONS_GHC -Wno-orphans #-}


module Nix.Var where
Expand Down

0 comments on commit 574644b

Please sign in to comment.