@@ -120,23 +120,23 @@ instance Pretty Derivation where
120
120
, onlyIf (_revision > 0 ) $ attr " revision" $ doubleQuotes $ int _revision
121
121
, onlyIf (not (null _editedCabalFile) && _revision > 0 ) $ attr " editedCabalFile" $ string _editedCabalFile
122
122
, listattr " configureFlags" empty (map (show . show ) renderedFlags)
123
- , boolattr " isLibrary" ( not _isLibrary || _isExecutable) _isLibrary
124
- , boolattr " isExecutable" ( not _isLibrary || _isExecutable) _isExecutable
125
- , boolattr " enableSeparateDataOutput" _enableSeparateDataOutput _enableSeparateDataOutput
123
+ , boolattr " isLibrary" _isLibrary
124
+ , boolattr " isExecutable" _isExecutable
125
+ , boolattr " enableSeparateDataOutput" _enableSeparateDataOutput
126
126
, onlyIf (_setupDepends /= mempty ) $ pPrintBuildInfo " setup" _setupDepends
127
127
, onlyIf (_libraryDepends /= mempty ) $ pPrintBuildInfo " library" _libraryDepends
128
128
, onlyIf (_executableDepends /= mempty ) $ pPrintBuildInfo " executable" _executableDepends
129
129
, onlyIf (_testDepends /= mempty ) $ pPrintBuildInfo " test" _testDepends
130
130
, onlyIf (_benchmarkDepends /= mempty ) $ pPrintBuildInfo " benchmark" _benchmarkDepends
131
- , boolattr " enableLibraryProfiling" _enableLibraryProfiling _enableLibraryProfiling
132
- , boolattr " enableExecutableProfiling" _enableExecutableProfiling _enableExecutableProfiling
133
- , boolattr " enableSplitObjs" ( not _enableSplitObjs) _enableSplitObjs
134
- , boolattr " doHaddock" ( not _runHaddock) _runHaddock
135
- , boolattr " jailbreak" _jailbreak _jailbreak
136
- , boolattr " doCheck" ( not _doCheck) _doCheck
137
- , boolattr " doBenchmark" _doBenchmark _doBenchmark
131
+ , boolattr " enableLibraryProfiling" _enableLibraryProfiling
132
+ , boolattr " enableExecutableProfiling" _enableExecutableProfiling
133
+ , boolattr " enableSplitObjs" _enableSplitObjs
134
+ , boolattr " doHaddock" _runHaddock
135
+ , boolattr " jailbreak" _jailbreak
136
+ , boolattr " doCheck" _doCheck
137
+ , boolattr " doBenchmark" _doBenchmark
138
138
, onlyIf (not (null _testTarget)) $ attr " testTarget" $ string _testTarget
139
- , boolattr " hyperlinkSource" ( not _hyperlinkSource) _hyperlinkSource
139
+ , boolattr " hyperlinkSource" _hyperlinkSource
140
140
, onlyIf (not (null _phaseOverrides)) $ vcat ((map text . lines ) _phaseOverrides)
141
141
, pPrint _metaSection
142
142
, vcat [ attr k (text v) | (k,v) <- Map. toList _extraAttributes ]
0 commit comments