diff options
Diffstat (limited to 'pkgs/os-specific/linux/phc-intel/default.nix')
-rw-r--r-- | pkgs/os-specific/linux/phc-intel/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/os-specific/linux/phc-intel/default.nix b/pkgs/os-specific/linux/phc-intel/default.nix index 2d5d149292c..34693564e0a 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 }: +{ lib, stdenv, fetchurl, kernel, which }: # Don't bother with older versions, though some might even work: -assert stdenv.lib.versionAtLeast kernel.version "4.10"; +assert lib.versionAtLeast kernel.version "4.10"; let release = "0.4.0"; @@ -36,7 +36,7 @@ in stdenv.mkDerivation rec { install -m 644 *.ko $out/lib/modules/${kernel.modDirVersion}/extra/ ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Undervolting kernel driver for Intel processors"; longDescription = '' PHC is a Linux kernel patch to undervolt processors. This can divide the @@ -48,6 +48,6 @@ in stdenv.mkDerivation rec { downloadPage = "http://www.linux-phc.org/forum/viewtopic.php?f=7&t=267"; license = licenses.gpl2; platforms = [ "x86_64-linux" "i686-linux" ]; - broken = stdenv.lib.versionAtLeast kernel.version "4.18"; + broken = lib.versionAtLeast kernel.version "4.18"; }; } |