-
Notifications
You must be signed in to change notification settings - Fork 725
Open
Labels
cabal-install: v2-build systemAffecting v2-build and related commands that use v2-architecture (aka "nix local builds").Affecting v2-build and related commands that use v2-architecture (aka "nix local builds").type: enhancement
Description
When running concurrent new-builds such as:
cabal new-build -ghc-options=-fmax-errors=1 &
cabal new-build -ghc-options=-fmax-errors=2
I get non-deterministic errors. Consider the below which appears to reference different versions of the same package:
[project]/Git.hs:29:71: error:
• Couldn't match type ‘text-1.2.2.2:Data.Text.Internal.Text’
with ‘Text’
NB: ‘Text’
is defined in ‘Data.Text.Internal’ in package ‘text-1.2.2.2’
‘text-1.2.2.2:Data.Text.Internal.Text’
is defined in ‘Data.Text.Internal’ in package ‘text-1.2.2.2’
Expected type: Text
Actual type: CommitID
• In the first argument of ‘T.unpack’, namely ‘cid’
In the expression: T.unpack cid
In the second argument of ‘readProcess’, namely
‘["log", "--pretty=%P", "-n1", T.unpack cid]’
N.B. type CommitID = Text
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
cabal-install: v2-build systemAffecting v2-build and related commands that use v2-architecture (aka "nix local builds").Affecting v2-build and related commands that use v2-architecture (aka "nix local builds").type: enhancement