@@ -1,4 +1,4 @@
1−{-# LANGUAGE PatternGuards, RecordWildCards, DeriveGeneric, StandaloneDeriving #-}
1+{-# LANGUAGE RecordWildCards, DeriveGeneric, StandaloneDeriving #-}
22{-# OPTIONS_GHC -fno-warn-orphans #-} -- for FlagName below
33
44module Distribution.Nixpkgs.Haskell
@@ -80,8 +80,8 @@ renderDerivation (MkDerivation {..}) =
8080 , attr "version" $ doubleQuotes (disp version)
8181 , sourceAttr src
8282 , onlyIf (not (null editedCabalFile)) $ attr "editedCabalFile" $ string editedCabalFile
83− , boolattr "isLibrary" ((not isLibrary) || isExecutable) isLibrary
84− , boolattr "isExecutable" ((not isLibrary) || isExecutable) isExecutable
83+ , boolattr "isLibrary" (not isLibrary || isExecutable) isLibrary
84+ , boolattr "isExecutable" (not isLibrary || isExecutable) isExecutable
8585 , listattr "buildDepends" empty (toAscList buildDepends)
8686 , listattr "testDepends" empty (toAscList testDepends)
8787 , listattr "buildTools" empty (toAscList buildTools)