Skip to content

Commit 3c44459

Browse files
committed
add back the "OPTIONS_GHC -Wno-orphans"
1 parent efcce65 commit 3c44459

File tree

7 files changed

+10
-1
lines changed

7 files changed

+10
-1
lines changed

src/Nix/Effects.hs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
1414
{-# LANGUAGE UndecidableInstances #-}
1515

16+
{-# OPTIONS_GHC -Wno-orphans #-}
17+
18+
1619
module Nix.Effects where
1720

1821
import Prelude hiding ( putStr

src/Nix/Exec.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@
1515
{-# LANGUAGE TypeFamilies #-}
1616
{-# LANGUAGE UndecidableInstances #-}
1717

18+
{-# OPTIONS_GHC -Wno-orphans #-}
1819
{-# OPTIONS_GHC -fno-warn-name-shadowing #-}
1920

21+
2022
module Nix.Exec where
2123

2224
import Prelude hiding ( putStr

src/Nix/Expr/Types.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
{-# LANGUAGE TypeFamilies #-}
1818
{-# LANGUAGE InstanceSigs #-}
1919

20-
20+
{-# OPTIONS_GHC -Wno-orphans #-}
2121
{-# OPTIONS_GHC -Wno-missing-signatures #-}
2222

2323
-- | The Nix expression type and supporting types.

src/Nix/Fresh.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
{-# LANGUAGE TypeFamilies #-}
99
{-# LANGUAGE UndecidableInstances #-}
1010

11+
{-# OPTIONS_GHC -Wno-orphans #-}
1112

1213

1314
module Nix.Fresh where

src/Nix/Fresh/Basic.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
{-# LANGUAGE TypeApplications #-}
66
{-# LANGUAGE TypeSynonymInstances #-}
77

8+
{-# OPTIONS_GHC -Wno-orphans #-}
89

910

1011
module Nix.Fresh.Basic where

src/Nix/Standard.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
1313
{-# LANGUAGE UndecidableInstances #-}
1414

15+
{-# OPTIONS_GHC -Wno-orphans #-}
1516

1617

1718
module Nix.Standard where

src/Nix/Var.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
{-# LANGUAGE FlexibleContexts #-}
44
{-# LANGUAGE ScopedTypeVariables #-}
55

6+
{-# OPTIONS_GHC -Wno-orphans #-}
67

78

89
module Nix.Var where

0 commit comments

Comments
 (0)