@@ -1,7 +1,7 @@
11{ stdenv, fetchurl, kernel, which }:
22
33assert stdenv.isLinux;
4−# Don't bother with older versions, though some would probably work:
4+# Don't bother with older versions, though some might even work:
55assert stdenv.lib.versionAtLeast kernel.version "4.3";
66# Disable on grsecurity kernels, which break module building:
77assert !kernel.features ? grsecurity;
@@ -9,9 +9,9 @@ assert !kernel.features ? grsecurity;
99let
1010 release = "0.4.0";
1111 revbump = "rev19"; # don't forget to change forum download id...
12− version = "${release}-${revbump}";
13−in stdenv.mkDerivation {
12+in stdenv.mkDerivation rec {
1413 name = "linux-phc-intel-${version}-${kernel.version}";
14+ version = "${release}-${revbump}";
1515
1616 src = fetchurl {
1717 sha256 = "1apvjp2rpaf3acjvsxgk6xiwrx4n9p565gxvra05pvicwikfiqa8";
@@ -38,7 +38,6 @@ in stdenv.mkDerivation {
3838 '';
3939
4040 meta = with stdenv.lib; {
41− inherit version;
4241 description = "Undervolting kernel driver for Intel processors";
4342 longDescription = ''
4443 PHC is a Linux kernel patch to undervolt processors. This can divide the