rrdtool: add passthru.perlModule
... so it can be used in `perl.withPackages` A bit tricky though, because rrdtool is not in `perlPackages` ```nix perl.withPackages(p: [ (rrdtool.override{ inherit (p) perl; }) ]) ```
This commit is contained in:
parent
a480ba06d9
commit
7d252394cc
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
{ fetchurl, lib, stdenv, gettext, perl, pkg-config, libxml2, pango, cairo, groff
|
{ fetchurl, lib, stdenv, gettext, perl, pkg-config, libxml2, pango, cairo, groff
|
||||||
, tcl-8_5, darwin }:
|
, tcl-8_5, darwin }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
perl.pkgs.toPerlModule (stdenv.mkDerivation rec {
|
||||||
name = "rrdtool-1.7.2";
|
name = "rrdtool-1.7.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
|
@ -27,4 +27,4 @@ stdenv.mkDerivation rec {
|
||||||
platforms = platforms.linux ++ platforms.darwin;
|
platforms = platforms.linux ++ platforms.darwin;
|
||||||
maintainers = with maintainers; [ pSub ];
|
maintainers = with maintainers; [ pSub ];
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
Loading…
Reference in a new issue