Skip to content

Commit f649ff8

Browse files
committed
make orphan instance warnings explicit
1 parent dab5a93 commit f649ff8

File tree

13 files changed

+13
-13
lines changed

13 files changed

+13
-13
lines changed

src/Nix/Exec.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
{-# LANGUAGE UndecidableInstances #-}
1717

1818
{-# OPTIONS_GHC -Wno-missing-signatures #-}
19-
{-# OPTIONS_GHC -Wno-orphans #-}
19+
2020
{-# OPTIONS_GHC -fno-warn-name-shadowing #-}
2121

2222
module Nix.Exec where

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-
{-# OPTIONS_GHC -Wno-orphans #-}
20+
2121
{-# OPTIONS_GHC -Wno-missing-signatures #-}
2222

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

src/Nix/Fresh.hs

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

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

1313
module Nix.Fresh where
1414

src/Nix/Fresh/Basic.hs

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

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

1010
module Nix.Fresh.Basic where
1111

src/Nix/Pretty.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
{-# LANGUAGE ViewPatterns #-}
1111

1212
{-# OPTIONS_GHC -fno-warn-name-shadowing #-}
13-
{-# OPTIONS_GHC -Wno-orphans #-}
13+
1414

1515
module Nix.Pretty where
1616

src/Nix/Reduce.hs

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

1919
{-# OPTIONS_GHC -fno-warn-name-shadowing #-}
20-
{-# OPTIONS_GHC -Wno-orphans #-}
20+
2121

2222
-- | This module provides a "reducing" expression evaluator, which reduces
2323
-- away pure, non self-referential aspects of an expression tree, yielding a

src/Nix/Standard.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
{-# LANGUAGE TypeFamilies #-}
1515
{-# LANGUAGE UndecidableInstances #-}
1616

17-
{-# OPTIONS_GHC -Wno-orphans #-}
17+
1818

1919
module Nix.Standard where
2020

src/Nix/Thunk/Basic.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{-# LANGUAGE TupleSections #-}
88
{-# LANGUAGE UndecidableInstances #-}
99

10-
{-# OPTIONS_GHC -Wno-orphans #-}
10+
1111

1212
module Nix.Thunk.Basic (NThunkF(..), Deferred(..), MonadBasicThunk) where
1313

src/Nix/Value/Equal.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
{-# LANGUAGE UndecidableInstances #-}
2323
{-# LANGUAGE ViewPatterns #-}
2424

25-
{-# OPTIONS_GHC -Wno-orphans #-}
25+
2626
{-# OPTIONS_GHC -Wno-missing-signatures #-}
2727
{-# OPTIONS_GHC -Wno-missing-pattern-synonym-signatures #-}
2828

src/Nix/Var.hs

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

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

88
module Nix.Var where
99

0 commit comments

Comments
 (0)