git.iko.soy/typeable/nixpkgs
on master help sign in
htmldoc: use stdenv.lib.optional instead of stdenv.lib.enable
commitfa9400f16f9737ebb6cd1aec3a534a645db23fc7 authorShane Pearlman <shanemikel1@gmail.com> dateSun 19 Mar 2017, 14:21 (10 years ago) parent1b10483
1 file changed+3−2
pkgs/tools/typesetting/htmldoc/default.nix+3−2
pkgs/tools/typesetting/htmldoc/default.nix+3−2
@@ -14,8 +14,9 @@ stdenv.mkDerivation rec {
1414 + "/release-${version}/htmldoc-${version}-source.tar.gz";
1515 sha256 = "15x0xdf487j4i4gfap5yr83airxnbp2v4lxaz79a4s3iirrq39p0";
1616 };
17− buildInputs =
18− stdenv.lib.ifEnable stdenv.isDarwin [SystemConfiguration Foundation];
17+ buildInputs = with stdenv;
18+ lib.optional isDarwin SystemConfiguration
19+ ++ lib.optional isDarwin Foundation;
1920
2021 meta = with stdenv.lib; {
2122 description = "Converts HTML files to PostScript and PDF";