File tree Expand file tree Collapse file tree 1 file changed +16
-15
lines changed Expand file tree Collapse file tree 1 file changed +16
-15
lines changed Original file line number Diff line number Diff line change @@ -2715,21 +2715,22 @@ primaryComponentOptions ::
2715
2715
-> LocalPackage
2716
2716
-> [String ]
2717
2717
primaryComponentOptions executableBuildStatuses lp =
2718
- -- TODO: get this information from target parsing instead,
2719
- -- which will allow users to turn off library building if
2720
- -- desired
2721
- (case packageLibraries package of
2722
- NoLibraries -> []
2723
- HasLibraries names ->
2724
- map T. unpack
2725
- $ T. append " lib:" (T. pack (packageNameString (packageName package)))
2726
- : map (T. append " flib:" ) (Set. toList names)) ++
2727
- map
2728
- (T. unpack . T. append " lib:" )
2729
- (Set. toList $ packageInternalLibraries package) ++
2730
- map
2731
- (T. unpack . T. append " exe:" )
2732
- (Set. toList $ exesToBuild executableBuildStatuses lp)
2718
+ -- TODO: get this information from target parsing instead, which will allow
2719
+ -- users to turn off library building if desired
2720
+ ( case packageLibraries package of
2721
+ NoLibraries -> []
2722
+ HasLibraries names -> map
2723
+ T. unpack
2724
+ ( T. append " lib:" (T. pack (packageNameString (packageName package)))
2725
+ : map (T. append " flib:" ) (Set. toList names)
2726
+ )
2727
+ )
2728
+ ++ map
2729
+ (T. unpack . T. append " lib:" )
2730
+ (Set. toList $ packageInternalLibraries package)
2731
+ ++ map
2732
+ (T. unpack . T. append " exe:" )
2733
+ (Set. toList $ exesToBuild executableBuildStatuses lp)
2733
2734
where
2734
2735
package = lpPackage lp
2735
2736
You can’t perform that action at this time.
0 commit comments