From 1fe1481adf229c7727ae0a6457bf9528808a92df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Thu, 27 Oct 2011 18:06:54 +0000 Subject: [PATCH] Fixing systemhealth for kernels 3.x svn path=/nixos/trunk/; revision=30068 --- modules/services/monitoring/systemhealth.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/services/monitoring/systemhealth.nix b/modules/services/monitoring/systemhealth.nix index 521218044ba..cb46ba89bc9 100644 --- a/modules/services/monitoring/systemhealth.nix +++ b/modules/services/monitoring/systemhealth.nix @@ -14,6 +14,8 @@ let buildInputs = [ python ]; installPhase = '' ensureDir $out/bin + # Make it work for kernels 3.x, not so different than 2.6 + sed -i 's/2\.6/4.0/' system_health.py cp system_health.py $out/bin ''; };