From 566ded39b1c76ac512c65a14e6ab14751814a9b9 Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Tue, 2 Jan 2018 14:36:11 -0600 Subject: [PATCH] pandoc: fix build by using buildDepends to match cabal file The previously used dependency hsb2hs was a build-tools dependency, but file-embed is build-depends: https://github.com/jgm/pandoc/commit/ff991d1e2151479ff7dc15aba9c17251ff060408 Fixes #33349 --- pkgs/top-level/all-packages.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c19d9a8afc15..552bd34650a7 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3896,7 +3896,7 @@ with pkgs; pandoc = haskell.lib.overrideCabal (haskell.lib.justStaticExecutables haskellPackages.pandoc) (drv: { configureFlags = drv.configureFlags or [] ++ ["-fembed_data_files"]; - buildTools = drv.buildTools or [] ++ [haskellPackages.file-embed]; + buildDepends = drv.buildDepends or [] ++ [haskellPackages.file-embed]; }); pamtester = callPackage ../tools/security/pamtester { };