summary refs log tree commit diff
path: root/pkgs/tools/typesetting/asciidoc
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2021-03-12 00:09:50 +0100
committergithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2021-03-12 22:41:51 +0000
commit7946498ab35e30a279ee476707ff4e943901bb8b (patch)
tree732ac7476e84c04fc19511ee4eaa5ab071ad9c9e /pkgs/tools/typesetting/asciidoc
parentfea3cb98e1c86ae92c74d2f705642581b622215d (diff)
downloadnixpkgs-7946498ab35e30a279ee476707ff4e943901bb8b.tar
nixpkgs-7946498ab35e30a279ee476707ff4e943901bb8b.tar.gz
nixpkgs-7946498ab35e30a279ee476707ff4e943901bb8b.tar.bz2
nixpkgs-7946498ab35e30a279ee476707ff4e943901bb8b.tar.lz
nixpkgs-7946498ab35e30a279ee476707ff4e943901bb8b.tar.xz
nixpkgs-7946498ab35e30a279ee476707ff4e943901bb8b.tar.zst
nixpkgs-7946498ab35e30a279ee476707ff4e943901bb8b.zip
asciidoc: patchPhase -> postPatch
Diffstat (limited to 'pkgs/tools/typesetting/asciidoc')
-rw-r--r--pkgs/tools/typesetting/asciidoc/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/tools/typesetting/asciidoc/default.nix b/pkgs/tools/typesetting/asciidoc/default.nix
index 849da7e606c..6716d764d5d 100644
--- a/pkgs/tools/typesetting/asciidoc/default.nix
+++ b/pkgs/tools/typesetting/asciidoc/default.nix
@@ -136,6 +136,7 @@ let
     url = "https://github.com/downloads/dagwieers/asciidoc-odf/odt-backend-0.1.zip";
     sha256 = "1zaa97h9sx6ncxcdkl1x3ggydi7f8kjgvrnpjnkjiizi45k350kw";
   };
+
   odpBackendSrc = fetchurl {
     url = "https://github.com/downloads/dagwieers/asciidoc-odf/odp-backend-0.1.zip";
     sha256 = "08ya4bskygzqkfqwjllpg31qc5k08xp2k78z9b2480g8y57bfy10";
@@ -159,7 +160,7 @@ stdenv.mkDerivation rec {
   nativeBuildInputs = [ python3 unzip autoreconfHook ];
 
   # install filters early, so their shebangs are patched too
-  patchPhase = with lib; ''
+  postPatch = with lib; ''
     mkdir -p "$out/etc/asciidoc/filters"
     mkdir -p "$out/etc/asciidoc/backends"
   '' + optionalString _enableDitaaFilter ''