@@ -120,8 +120,8 @@ instance Pretty Derivation where
120120 , onlyIf (_revision > 0 ) $ attr " revision" $ doubleQuotes $ int _revision
121121 , onlyIf (not (null _editedCabalFile) && _revision > 0 ) $ attr " editedCabalFile" $ string _editedCabalFile
122122 , listattr " configureFlags" empty (map (show . show ) renderedFlags)
123- , boolattr " isLibrary" ( not _isLibrary || _isExecutable) _isLibrary
124- , boolattr " isExecutable" ( not _isLibrary || _isExecutable) _isExecutable
123+ , boolattr " isLibrary" _isLibrary
124+ , boolattr " isExecutable" _isExecutable
125125 , boolattr " enableSeparateDataOutput" _enableSeparateDataOutput _enableSeparateDataOutput
126126 , onlyIf (_setupDepends /= mempty ) $ pPrintBuildInfo " setup" _setupDepends
127127 , onlyIf (_libraryDepends /= mempty ) $ pPrintBuildInfo " library" _libraryDepends
@@ -130,13 +130,13 @@ instance Pretty Derivation where
130130 , onlyIf (_benchmarkDepends /= mempty ) $ pPrintBuildInfo " benchmark" _benchmarkDepends
131131 , boolattr " enableLibraryProfiling" _enableLibraryProfiling _enableLibraryProfiling
132132 , 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
133+ , boolattr " enableSplitObjs" _enableSplitObjs
134+ , boolattr " doHaddock" _runHaddock
135+ , boolattr " jailbreak" _jailbreak
136+ , boolattr " doCheck" _doCheck
137+ , boolattr " doBenchmark" _doBenchmark
138138 , onlyIf (not (null _testTarget)) $ attr " testTarget" $ string _testTarget
139- , boolattr " hyperlinkSource" ( not _hyperlinkSource) _hyperlinkSource
139+ , boolattr " hyperlinkSource" _hyperlinkSource
140140 , onlyIf (not (null _phaseOverrides)) $ vcat ((map text . lines ) _phaseOverrides)
141141 , pPrint _metaSection
142142 , vcat [ attr k (text v) | (k,v) <- Map. toList _extraAttributes ]
0 commit comments