Skip to content

Commit

Permalink
docbook-xsl: Install dbtoepub
Browse files Browse the repository at this point in the history
  • Loading branch information
shlevy committed Jun 3, 2017
1 parent 0886c1b commit 4e32f5b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pkgs/data/sgml+xml/stylesheets/xslt/docbook-xsl/default.nix
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl }:
{ lib, stdenv, fetchurl, ruby }:

let

Expand All @@ -10,6 +10,8 @@ let
inherit sha256;
};

buildInputs = [ ruby ];

dontBuild = true;

installPhase = ''
Expand All @@ -21,6 +23,9 @@ let
# Backwards compatibility. Will remove eventually.
mkdir -p $out/xml/xsl
ln -s $dst $out/xml/xsl/docbook
ln -sv $dst/epub/bin $out
chmod +x $out/bin/dbtoepub
'';

meta = {
Expand Down

0 comments on commit 4e32f5b

Please sign in to comment.