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
commit d0ea2df4fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
'';
});