diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/typesetting/kindlegen/default.nix')
-rw-r--r-- | nixpkgs/pkgs/tools/typesetting/kindlegen/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nixpkgs/pkgs/tools/typesetting/kindlegen/default.nix b/nixpkgs/pkgs/tools/typesetting/kindlegen/default.nix index 1067386c2f8d..6afa246f8184 100644 --- a/nixpkgs/pkgs/tools/typesetting/kindlegen/default.nix +++ b/nixpkgs/pkgs/tools/typesetting/kindlegen/default.nix @@ -1,4 +1,4 @@ -{ fetchurl, stdenv, unzip }: +{ fetchurl, lib, stdenv, unzip }: let version = "2.9"; @@ -33,7 +33,7 @@ in stdenv.mkDerivation { sourceRoot = "."; - nativeBuildInputs = stdenv.lib.optional (stdenv.lib.hasSuffix ".zip" url) unzip; + nativeBuildInputs = lib.optional (lib.hasSuffix ".zip" url) unzip; installPhase = '' mkdir -p $out/bin $out/share/kindlegen/doc @@ -41,7 +41,7 @@ in stdenv.mkDerivation { cp -r *.txt *.html docs/* $out/share/kindlegen/doc ''; - meta = with stdenv.lib; { + meta = with lib; { broken = true; # download links got removed description = "Convert documents to .mobi for use with Amazon Kindle"; homepage = "https://www.amazon.com/gp/feature.html?docId=1000765211"; |