From 0ef2bbfd0ba2b2c0db6f5f4e01f8d8c2e556b329 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20Hamb=C3=BCchen?= Date: Sun, 12 May 2019 23:55:19 +0200 Subject: [PATCH] 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. --- pkgs/development/haskell-modules/configuration-common.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 1ab376ab103..ba1e461feab 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -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 ''; });