2
0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-04-16 17:38:09 +00:00

pandoc: keep generated postInstall

...otherwise the man page disappears.

Fixes 
This commit is contained in:
Naïm Favier 2021-12-26 21:10:47 +01:00
parent e2b2136d63
commit 972337dd36
No known key found for this signature in database
GPG Key ID: 49B07322580B7EE2

View File

@ -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