about summary refs log tree commit diff
path: root/nixos/modules/services/monitoring/prometheus/default.nix
diff options
context:
space:
mode:
authorAlexandre Iooss <erdnaxe@crans.org>2023-10-14 16:45:18 +0200
committerAlexandre Iooss <erdnaxe@crans.org>2023-10-14 16:45:18 +0200
commit925a8806dc49125e5dcf279b2e260c293d42ed3a (patch)
tree926029f488c56d860fe026ca477ba22fff01be9d /nixos/modules/services/monitoring/prometheus/default.nix
parentd3fd2777ee1d07919a83e14148708072adb5e669 (diff)
nixos/prometheus: fix cross-compilation
Diffstat (limited to 'nixos/modules/services/monitoring/prometheus/default.nix')
-rw-r--r--nixos/modules/services/monitoring/prometheus/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/monitoring/prometheus/default.nix b/nixos/modules/services/monitoring/prometheus/default.nix
index 19ee3ae6f7da8..a38855ccd4088 100644
--- a/nixos/modules/services/monitoring/prometheus/default.nix
+++ b/nixos/modules/services/monitoring/prometheus/default.nix
@@ -31,7 +31,7 @@ let
     if checkConfigEnabled then
       pkgs.runCommandLocal
         "${name}-${replaceStrings [" "] [""] what}-checked"
-        { buildInputs = [ cfg.package.cli ]; } ''
+        { nativeBuildInputs = [ cfg.package.cli ]; } ''
         ln -s ${file} $out
         promtool ${what} $out
       '' else file;