Merge pull request #61526 from nh2/servant-doc-no-haddock-fix

haskell: servant: Don't write to $doc if disabled.
This commit is contained in:
Matthew Bauer
2019-05-15 16:55:10 -04:00
committed by GitHub

View File

@@ -765,7 +765,7 @@ self: super: {
};
in overrideCabal super.servant (old: {
postInstall = old.postInstall or "" + ''
ln -s ${docs} $doc/share/doc/servant
ln -s ${docs} ''${!outputDoc}/share/doc/servant
'';
});