Make cpufrequtils compilation pure.

This commit is contained in:
Alexander Kjeldaas
2014-04-05 09:08:05 +02:00
parent 8b5c617237
commit 4aeb10b09a
2 changed files with 29 additions and 0 deletions
@@ -10,6 +10,11 @@ stdenv.mkDerivation rec {
sha256 = "127i38d4w1hv2dzdy756gmbhq25q3k34nqb2s0xlhsfhhdqs0lq0";
};
patches = [
# I am not 100% sure that this is ok, but it breaks repeatable builds.
./remove-pot-creation-date.patch
];
patchPhase = ''
sed -e "s@= /usr/bin/@= @g" \
-e "s@/usr/@$out/@" \