[3 of 6] Compiling Internal.OrphanInstances ( src/Internal/OrphanInstances.hs, dist/build/Internal/OrphanInstances.o )
src/Internal/OrphanInstances.hs:9:10: error:
Duplicate instance declarations:
instance NFData Arch
-- Defined at src/Internal/OrphanInstances.hs:9:10
instance NFData Arch -- Defined in ‘Distribution.System’
|
9 | instance NFData Arch
| ^^^^^^^^^^^
src/Internal/OrphanInstances.hs:10:10: error:
Duplicate instance declarations:
instance NFData OS
-- Defined at src/Internal/OrphanInstances.hs:10:10
instance NFData OS -- Defined in ‘Distribution.System’
|
10 | instance NFData OS
| ^^^^^^^^^
src/Internal/OrphanInstances.hs:11:10: error:
Duplicate instance declarations:
instance NFData Platform
-- Defined at src/Internal/OrphanInstances.hs:11:10
instance NFData Platform -- Defined in ‘Distribution.System’
|
11 | instance NFData Platform
| ^^^^^^^^^^^^^^^
...and..
src/Language/Nix/PrettyPrinting.hs:28:12: error:
Precedence parsing error
cannot mix ‘<+>’ [infixl 6] and ‘Prelude.<>’ [infixr 6] in the same infix expression
|
28 | attr n v = text n <+> equals <+> v <> semi
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Language/Nix/PrettyPrinting.hs:28:36: error:
Ambiguous occurrence ‘<>’
It could refer to either ‘Prelude.<>’,
imported from ‘Prelude’ at src/Language/Nix/PrettyPrinting.hs:5:8-34
(and originally defined in ‘GHC.Base’)
or ‘Text.PrettyPrint.HughesPJClass.<>’,
imported from ‘Text.PrettyPrint.HughesPJClass’ at src/Language/Nix/PrettyPrinting.hs:25:1-46
(and originally defined in ‘Text.PrettyPrint.HughesPJ’)
|
28 | attr n v = text n <+> equals <+> v <> semi
| ^^
src/Language/Nix/PrettyPrinting.hs:40:30: error:
Ambiguous occurrence ‘<>’
It could refer to either ‘Prelude.<>’,
imported from ‘Prelude’ at src/Language/Nix/PrettyPrinting.hs:5:8-34
(and originally defined in ‘GHC.Base’)
or ‘Text.PrettyPrint.HughesPJClass.<>’,
imported from ‘Text.PrettyPrint.HughesPJClass’ at src/Language/Nix/PrettyPrinting.hs:25:1-46
(and originally defined in ‘Text.PrettyPrint.HughesPJ’)
|
40 | rbrack <> semi
| ^^
src/Language/Nix/PrettyPrinting.hs:58:36: error:
Ambiguous occurrence ‘<>’
It could refer to either ‘Prelude.<>’,
imported from ‘Prelude’ at src/Language/Nix/PrettyPrinting.hs:5:8-34
(and originally defined in ‘GHC.Base’)
or ‘Text.PrettyPrint.HughesPJClass.<>’,
imported from ‘Text.PrettyPrint.HughesPJClass’ at src/Language/Nix/PrettyPrinting.hs:25:1-46
(and originally defined in ‘Text.PrettyPrint.HughesPJ’)
|
58 | prepunctuate p (d:ds) = d : map (p <>) ds
| ^^
src/Language/Nix/PrettyPrinting.hs:62:53: error:
Ambiguous occurrence ‘<>’
It could refer to either ‘Prelude.<>’,
imported from ‘Prelude’ at src/Language/Nix/PrettyPrinting.hs:5:8-34
(and originally defined in ‘GHC.Base’)
or ‘Text.PrettyPrint.HughesPJClass.<>’,
imported from ‘Text.PrettyPrint.HughesPJClass’ at src/Language/Nix/PrettyPrinting.hs:25:1-46
(and originally defined in ‘Text.PrettyPrint.HughesPJ’)
|
62 | lbrace <+> fcat (prepunctuate (comma <> text " ") $ map (nest 2) xs),
| ^^
src/Language/Nix/PrettyPrinting.hs:63:23: error:
Ambiguous occurrence ‘<>’
It could refer to either ‘Prelude.<>’,
imported from ‘Prelude’ at src/Language/Nix/PrettyPrinting.hs:5:8-34
(and originally defined in ‘GHC.Base’)
or ‘Text.PrettyPrint.HughesPJClass.<>’,
imported from ‘Text.PrettyPrint.HughesPJClass’ at src/Language/Nix/PrettyPrinting.hs:25:1-46
(and originally defined in ‘Text.PrettyPrint.HughesPJ’)
|
63 | rbrace <> colon
| ^^
builder for ‘/nix/store/86wxjn9zl3lx4al5s6cp0zr69klk1bj0-distribution-nixpkgs-1.1.drv’ failed with exit code 1