Skip to content

Commit 4e32f5b

Browse files
committedJun 3, 2017
docbook-xsl: Install dbtoepub
1 parent 0886c1b commit 4e32f5b

File tree

1 file changed

+6
-1
lines changed
  • pkgs/data/sgml+xml/stylesheets/xslt/docbook-xsl

1 file changed

+6
-1
lines changed
 

‎pkgs/data/sgml+xml/stylesheets/xslt/docbook-xsl/default.nix

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{ lib, stdenv, fetchurl }:
1+
{ lib, stdenv, fetchurl, ruby }:
22

33
let
44

@@ -10,6 +10,8 @@ let
1010
inherit sha256;
1111
};
1212

13+
buildInputs = [ ruby ];
14+
1315
dontBuild = true;
1416

1517
installPhase = ''
@@ -21,6 +23,9 @@ let
2123
# Backwards compatibility. Will remove eventually.
2224
mkdir -p $out/xml/xsl
2325
ln -s $dst $out/xml/xsl/docbook
26+
27+
ln -sv $dst/epub/bin $out
28+
chmod +x $out/bin/dbtoepub
2429
'';
2530

2631
meta = {

0 commit comments

Comments
 (0)
Please sign in to comment.