summary refs log tree commit diff
path: root/pkgs/development/tools/pandoc/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/pandoc/default.nix')
-rw-r--r--pkgs/development/tools/pandoc/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/tools/pandoc/default.nix b/pkgs/development/tools/pandoc/default.nix
index 475fa6a93e4..a61f39c15b6 100644
--- a/pkgs/development/tools/pandoc/default.nix
+++ b/pkgs/development/tools/pandoc/default.nix
@@ -26,7 +26,7 @@ in
     # This should ideally be fixed in haskellPackages (or even Cabal),
     # but a minimal pandoc is important enough to patch it manually.
     disallowedReferences = [ haskellPackages.pandoc-types haskellPackages.HTTP ];
-    postInstall = ''
+    postInstall = drv.postInstall or "" + ''
       remove-references-to \
         -t ${haskellPackages.pandoc-types} \
         $out/bin/pandoc