Fixing systemhealth for kernels 3.x

svn path=/nixos/trunk/; revision=30068
This commit is contained in:
Lluís Batlle i Rossell 2011-10-27 18:06:54 +00:00
parent 3397bc6e09
commit 1fe1481adf

View File

@ -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
'';
};