From 9511feef722fd1cba5fbfcfb1fdce85698942bf0 Mon Sep 17 00:00:00 2001 From: adisbladis Date: Fri, 1 Apr 2022 23:34:29 +1200 Subject: [PATCH] prometheus-dmarc-exporter: Add missing build-system dependencies with overrides I will add these upstream in poetry2nix and remove them from here once released. --- .../monitoring/prometheus/dmarc-exporter/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/servers/monitoring/prometheus/dmarc-exporter/default.nix b/pkgs/servers/monitoring/prometheus/dmarc-exporter/default.nix index 98848ee67022..e083df90b413 100644 --- a/pkgs/servers/monitoring/prometheus/dmarc-exporter/default.nix +++ b/pkgs/servers/monitoring/prometheus/dmarc-exporter/default.nix @@ -7,7 +7,8 @@ let poetry2nix.defaultPoetryOverrides (import ./poetry-git-overlay.nix { inherit pkgs; }) (self: super: { - dmarc-metrics-exporter = super.dmarc-metrics-exporter.overridePythonAttrs ({ meta ? {}, ... }: { + dmarc-metrics-exporter = super.dmarc-metrics-exporter.overridePythonAttrs ({ nativeBuildInputs ? [ ], meta ? {}, ... }: { + nativeBuildInputs = nativeBuildInputs ++ [ self.poetry ]; meta = with lib; meta // { license = licenses.mit; homepage = "https://github.com/jgosmann/dmarc-metrics-exporter/"; @@ -44,6 +45,9 @@ let ''; }); dataclasses = null; + bite-parser = super.bite-parser.overridePythonAttrs (old: { + nativeBuildInputs = old.nativeBuildInputs ++ [ self.poetry ]; + }); }) ]; }) python;