haskell: servant: Don't hardcode $doc.

Until now this broke on `enableSeparateDocOutput = false`,
as then `$doc` was not defined so it tried to copy stuff to
`/share/doc/servant`.

Fixes regression introduced in commit be63b1994d.
This commit is contained in:
Niklas Hambüchen 2019-05-12 23:55:19 +02:00
parent a9c7679ace
commit 0ef2bbfd0b

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