|
|
|
@ -13,9 +13,6 @@ in |
|
|
|
|
remove-references-to \ |
|
|
|
|
-t ${haskellPackages.pandoc-types} \ |
|
|
|
|
$out/bin/pandoc |
|
|
|
|
remove-references-to \ |
|
|
|
|
-t ${haskellPackages.HTTP} \ |
|
|
|
|
$out/bin/pandoc |
|
|
|
|
''; |
|
|
|
|
}) static).overrideAttrs (drv: { |
|
|
|
|
# These libraries are still referenced, because they generate |
|
|
|
@ -25,5 +22,5 @@ in |
|
|
|
|
# lead to a transitive runtime dependency on the whole GHC distribution. |
|
|
|
|
# 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 ]; |
|
|
|
|
disallowedReferences = [ haskellPackages.pandoc-types ]; |
|
|
|
|
}) |
|
|
|
|