mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 05:37:40 +03:00
rrdtool: fix macOS build
This commit is contained in:
parent
06716f310a
commit
65d9a8e4fb
@ -1,5 +1,5 @@
|
|||||||
{ fetchurl, stdenv, gettext, perl, pkgconfig, libxml2, pango, cairo, groff
|
{ fetchurl, stdenv, gettext, perl, pkgconfig, libxml2, pango, cairo, groff
|
||||||
, tcl-8_5 }:
|
, tcl-8_5, darwin }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "rrdtool-1.6.0";
|
name = "rrdtool-1.6.0";
|
||||||
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
buildInputs = [ gettext perl libxml2 pango cairo groff ]
|
buildInputs = [ gettext perl libxml2 pango cairo groff ]
|
||||||
++ stdenv.lib.optional stdenv.isDarwin tcl-8_5;
|
++ stdenv.lib.optionals stdenv.isDarwin [ tcl-8_5 darwin.apple_sdk.frameworks.ApplicationServices ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
# for munin and rrdtool support
|
# for munin and rrdtool support
|
||||||
|
Loading…
Reference in New Issue
Block a user