Skip to content

Commit 3a37f45

Browse files
Ericson2314emilypi
authored andcommitted
Fix comment to explain that this is host platform info
Because cabal2nix and haskell.nix work at all, I'm confident the new comment is also more correct as to how this function is used in practice.
1 parent 0638a48 commit 3a37f45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Cabal/src/Distribution/PackageDescription/Configuration.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,8 @@ resolveWithFlags ::
169169
[(FlagName,[Bool])]
170170
-- ^ Domain for each flag name, will be tested in order.
171171
-> ComponentRequestedSpec
172-
-> OS -- ^ OS as returned by Distribution.System.buildOS
173-
-> Arch -- ^ Arch as returned by Distribution.System.buildArch
172+
-> OS -- ^ OS where the installed artifacts will run (host OS)
173+
-> Arch -- ^ Arch where the installed artifacts will run (host Arch)
174174
-> CompilerInfo -- ^ Compiler information
175175
-> [PackageVersionConstraint] -- ^ Additional constraints
176176
-> [CondTree ConfVar [Dependency] PDTagged]

0 commit comments

Comments
 (0)