pandoc: don't use remove-references-to with haskellPackages.HTTP

Pandoc no longer depends on haskellPackages.HTTP at all.
main
Brian Leung 2 years ago
parent eed6535791
commit e34b228626
No known key found for this signature in database
GPG Key ID: 3ADC75F013D678F9
  1. 5
      pkgs/development/tools/pandoc/default.nix

@ -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 ];
})

Loading…
Cancel
Save