diff options
Diffstat (limited to 'pkgs/os-specific/linux/phc-intel/default.nix')
-rw-r--r-- | pkgs/os-specific/linux/phc-intel/default.nix | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/pkgs/os-specific/linux/phc-intel/default.nix b/pkgs/os-specific/linux/phc-intel/default.nix index 4eed41254f9..2b86238b2df 100644 --- a/pkgs/os-specific/linux/phc-intel/default.nix +++ b/pkgs/os-specific/linux/phc-intel/default.nix @@ -1,7 +1,7 @@ { stdenv, fetchurl, kernel, which }: assert stdenv.isLinux; -# Don't bother with older versions, though some would probably work: +# Don't bother with older versions, though some might even work: assert stdenv.lib.versionAtLeast kernel.version "4.3"; # Disable on grsecurity kernels, which break module building: assert !kernel.features ? grsecurity; @@ -9,9 +9,9 @@ assert !kernel.features ? grsecurity; let release = "0.4.0"; revbump = "rev19"; # don't forget to change forum download id... - version = "${release}-${revbump}"; -in stdenv.mkDerivation { +in stdenv.mkDerivation rec { name = "linux-phc-intel-${version}-${kernel.version}"; + version = "${release}-${revbump}"; src = fetchurl { sha256 = "1apvjp2rpaf3acjvsxgk6xiwrx4n9p565gxvra05pvicwikfiqa8"; @@ -38,7 +38,6 @@ in stdenv.mkDerivation { ''; meta = with stdenv.lib; { - inherit version; description = "Undervolting kernel driver for Intel processors"; longDescription = '' PHC is a Linux kernel patch to undervolt processors. This can divide the |