From 105ecf1e01b810c8f3d77dd5ce7b365394c9da6c Mon Sep 17 00:00:00 2001 From: Daiderd Jordan Date: Mon, 3 Feb 2020 08:24:31 +0100 Subject: [PATCH] prometheus-xmpp-alerts: fix evaluation https://hydra.nixos.org/build/111462401 callPackages adds override functions to each attribute rather than just the top-level drv resulting drv.metadata that includes a function. derivation 'prometheus-xmpp-alerts-0.4.2' has invalid meta attribute 'overrideDerivation' --- pkgs/top-level/all-packages.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 7b71a755bb20..f89f6493ae73 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15680,7 +15680,7 @@ in prometheus-wireguard-exporter = callPackage ../servers/monitoring/prometheus/wireguard-exporter.nix { inherit (darwin.apple_sdk.frameworks) Security; }; - prometheus-xmpp-alerts = callPackages ../servers/monitoring/prometheus/xmpp-alerts.nix { + prometheus-xmpp-alerts = callPackage ../servers/monitoring/prometheus/xmpp-alerts.nix { pythonPackages = python3Packages; };