Merge pull request #61526 from nh2/servant-doc-no-haddock-fix
haskell: servant: Don't write to $doc if disabled.
commitd0ea2df4fbc9db734f8e422e75fa062ab9d417eb
authorMatthew Bauer <mjbauer95@gmail.com>
dateWed 15 May 2019, 16:55 (8 years ago)
parentcdb91030ef2bbf
pkgs/development/haskell-modules/configuration-common.nix+1−1
@@ -765,7 +765,7 @@ self: super: {
765765 };
766766 in overrideCabal super.servant (old: {
767767 postInstall = old.postInstall or "" + ''
768− ln -s ${docs} $doc/share/doc/servant
768+ ln -s ${docs} ''${!outputDoc}/share/doc/servant
769769 '';
770770 });
771771