Skip to content

Commit

Permalink
asciidoc: patchPhase -> postPatch
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored and github-actions[bot] committed Mar 12, 2021
1 parent fea3cb9 commit 7946498
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/tools/typesetting/asciidoc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand All @@ -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 ''
Expand Down

0 comments on commit 7946498

Please sign in to comment.