about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/pandoc/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/tools/pandoc/default.nix')
-rw-r--r--nixpkgs/pkgs/development/tools/pandoc/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/nixpkgs/pkgs/development/tools/pandoc/default.nix b/nixpkgs/pkgs/development/tools/pandoc/default.nix
index 31396f800a1e..1e9eec3f804c 100644
--- a/nixpkgs/pkgs/development/tools/pandoc/default.nix
+++ b/nixpkgs/pkgs/development/tools/pandoc/default.nix
@@ -1,7 +1,8 @@
-{ stdenv, lib, haskellPackages, fetchpatch, haskell, removeReferencesTo }:
+{ stdenv, lib, haskellPackages, haskell, removeReferencesTo }:
 
 let
-  static = haskell.lib.compose.justStaticExecutables haskellPackages.pandoc;
+  # Since pandoc 3.0 the pandoc binary resides in the pandoc-cli package.
+  static = haskell.lib.compose.justStaticExecutables haskellPackages.pandoc-cli;
 
 in
   (haskell.lib.compose.overrideCabal (drv: {