Skip to content

Commit

Permalink
Always generate hasDataDir so that we can switch defaults in the gene…
Browse files Browse the repository at this point in the history
…ric builder easily.
  • Loading branch information
peti committed Jul 26, 2017
1 parent c51b50e commit 04b4315
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Distribution/Nixpkgs/Haskell/Derivation.hs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ instance Pretty Derivation where
, listattr "configureFlags" empty (map (show . show) renderedFlags)
, boolattr "isLibrary" (not _isLibrary || _isExecutable) _isLibrary
, boolattr "isExecutable" (not _isLibrary || _isExecutable) _isExecutable
, boolattr "hasDataDir" (not _hasDataDir) _hasDataDir
, boolattr "hasDataDir" True _hasDataDir
, onlyIf (_setupDepends /= mempty) $ pPrintBuildInfo "setup" _setupDepends
, onlyIf (_libraryDepends /= mempty) $ pPrintBuildInfo "library" _libraryDepends
, onlyIf (_executableDepends /= mempty) $ pPrintBuildInfo "executable" _executableDepends
Expand Down

0 comments on commit 04b4315

Please sign in to comment.