hydra-config/collectd-master.nix

23 lines
442 B
Nix
Raw Normal View History

2019-12-13 19:11:49 +01:00
let
overlay = self: super: {
collectd = super.collectd.overrideAttrs (oldAttrs: rec {
2019-12-13 19:11:49 +01:00
name = "collectd-${version}";
src = <collectd>;
version = "unstable";
patches = [];
nativeBuildInputs = oldAttrs.nativeBuildInputs ++ (
with super; [
2020-07-07 16:22:42 +02:00
bison flex perl
]
);
2019-12-13 19:11:49 +01:00
});
};
in
import ./collectd.nix {
pkgs = (
import <nixpkgs> {
overlays = [ overlay ];
}
);
}