about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules
diff options
context:
space:
mode:
authorsternenseemann <sternenseemann@systemli.org>2024-01-04 16:57:20 +0100
committersternenseemann <sternenseemann@systemli.org>2024-01-04 16:57:20 +0100
commite0e903c391514b56d6a7595efd884b36d70d072e (patch)
tree3e566f4f3f354478652aa26885af998fea1a3847 /pkgs/development/haskell-modules
parent065bd395b905c2c0cf86f053fc4c2e4c84eac077 (diff)
downloadnixlib-e0e903c391514b56d6a7595efd884b36d70d072e.tar
nixlib-e0e903c391514b56d6a7595efd884b36d70d072e.tar.gz
nixlib-e0e903c391514b56d6a7595efd884b36d70d072e.tar.bz2
nixlib-e0e903c391514b56d6a7595efd884b36d70d072e.tar.lz
nixlib-e0e903c391514b56d6a7595efd884b36d70d072e.tar.xz
nixlib-e0e903c391514b56d6a7595efd884b36d70d072e.tar.zst
nixlib-e0e903c391514b56d6a7595efd884b36d70d072e.zip
haskellPackages.cabal2nix-unstable: 2024-01-02 -> 2024-01-04
pandoc: install man pages from pandoc-cli tarball

The pandoc man pages moved from pandoc to pandoc-cli, so we need to
install them elsewhere. The install script for this was emitted by
cabal2nix which we now stop doing for pandoc >= 3.1.10 (so
haskellPackages.pandoc still has man pages). Instead we manually add an
override where it matters to us, namely
pkgs.pandoc (haskellPackages.pandoc-cli is lacking them now, not sure if
we need to care).
Diffstat (limited to 'pkgs/development/haskell-modules')
-rw-r--r--pkgs/development/haskell-modules/cabal2nix-unstable.nix6
-rw-r--r--pkgs/development/haskell-modules/hackage-packages.nix4
2 files changed, 3 insertions, 7 deletions
diff --git a/pkgs/development/haskell-modules/cabal2nix-unstable.nix b/pkgs/development/haskell-modules/cabal2nix-unstable.nix
index 32810d85c54d..cd517534d649 100644
--- a/pkgs/development/haskell-modules/cabal2nix-unstable.nix
+++ b/pkgs/development/haskell-modules/cabal2nix-unstable.nix
@@ -8,10 +8,10 @@
 }:
 mkDerivation {
   pname = "cabal2nix";
-  version = "unstable-2024-01-02";
+  version = "unstable-2024-01-04";
   src = fetchzip {
-    url = "https://github.com/NixOS/cabal2nix/archive/3f23ae1dda9a5bbe5f560e3cfe521efc9675f668.tar.gz";
-    sha256 = "12vlqiga5lmr38cf92khrk5f2r68swh5plxmbarqlc4bvw93prb3";
+    url = "https://github.com/NixOS/cabal2nix/archive/e394e96c51cc7a2858145e710fbedbb2cb57f6ec.tar.gz";
+    sha256 = "0rzmyx2i2z3w2ibg4rbaasq0581sa7bf8n1cih6v3j6phzgl3058";
   };
   postUnpack = "sourceRoot+=/cabal2nix; echo source root reset to $sourceRoot";
   isLibrary = true;
diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix
index f8357aa0e4c7..2b4929fc613e 100644
--- a/pkgs/development/haskell-modules/hackage-packages.nix
+++ b/pkgs/development/haskell-modules/hackage-packages.nix
@@ -224231,10 +224231,6 @@ self: {
          base bytestring deepseq mtl tasty-bench text
        ];
        doHaddock = false;
-       postInstall = ''
-         mkdir -p $out/share/man/man1
-         mv "man/"*.1 $out/share/man/man1/
-       '';
        description = "Conversion between markup formats";
        license = lib.licenses.gpl2Plus;
        hydraPlatforms = lib.platforms.none;