diff options
author | Tobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com> | 2016-01-25 20:08:34 +0100 |
---|---|---|
committer | Tobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com> | 2016-01-25 20:08:34 +0100 |
commit | ac33b4724a84ef01f3d25a42e2b63f1a9d3e5cd6 (patch) | |
tree | 2cd413d35a58a8320b2adfac534652619d2bbcfd /pkgs/os-specific/linux/phc-intel | |
parent | 9fb8020e4ec2e74e39a8f28dfb3ef18a70bd1eef (diff) |
More version attribute tidying where maintainers |= nckx
Diffstat (limited to 'pkgs/os-specific/linux/phc-intel')
-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 4eed41254f916..2b86238b2df5b 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 |