Created
May 6, 2019 13:27
-
-
Save fendor/2d77654a882dc0d354926072691fc82b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
update.hs:125:23: error: | |
• Couldn't match expected type ‘Cabal-2.4.0.1:Distribution.System.Platform’ | |
with actual type ‘Platform’ | |
NB: ‘Platform’ | |
is defined in ‘Distribution.System’ in package ‘Cabal-2.4.1.0’ | |
‘Cabal-2.4.0.1:Distribution.System.Platform’ | |
is defined in ‘Distribution.System’ in package ‘Cabal-2.4.0.1’ | |
• In the ‘argPlatform’ field of a record | |
In the first argument of ‘stack2nix’, namely | |
‘Args | |
{argRev = Just rev, argOutFile = Just output, | |
argStackYaml = "stack-" ++ show version ++ ".yaml", argThreads = 4, | |
argTest = False, argBench = False, argHaddock = False, | |
argHackageSnapshot = Nothing, argPlatform = Platform X86_64 Linux, | |
argUri = repo, argIndent = True, argVerbose = False}’ | |
In the second argument of ‘($)’, namely | |
‘stack2nix | |
Args | |
{argRev = Just rev, argOutFile = Just output, | |
argStackYaml = "stack-" ++ show version ++ ".yaml", argThreads = 4, | |
argTest = False, argBench = False, argHaddock = False, | |
argHackageSnapshot = Nothing, argPlatform = Platform X86_64 Linux, | |
argUri = repo, argIndent = True, argVerbose = False}’ | |
| | |
125 | , argPlatform = Platform X86_64 Linux | |
| |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment