git.iko.soy/typeable/nixpkgs
on master help sign in
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 be63b1994d75e826eb2ba2b9e319f1f25be8b725.

commit0ef2bbfd0ba2b2c0db6f5f4e01f8d8c2e556b329 authorNiklas Hambüchen <mail@nh2.me> dateSun 12 May 2019, 23:55 (8 years ago) parenta9c7679
1 file changed+1−1
pkgs/development/haskell-modules/configuration-common.nix+1−1
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