kindlegen: Use unzip where necessary
This commit is contained in:
parent
222f905fd9
commit
2332e8b0d9
@ -1,4 +1,4 @@
|
||||
{ fetchurl, stdenv }:
|
||||
{ fetchurl, stdenv, unzip }:
|
||||
|
||||
let
|
||||
version = "2.9";
|
||||
@ -32,6 +32,8 @@ in stdenv.mkDerivation rec {
|
||||
|
||||
sourceRoot = ".";
|
||||
|
||||
nativeBuildInputs = stdenv.lib.optional (stdenv.lib.hasSuffix ".zip" url) unzip;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin $out/share/kindlegen/doc
|
||||
install -m755 kindlegen $out/bin/kindlegen
|
||||
|
Loading…
Reference in New Issue
Block a user