Commit Graph

13 Commits

Author SHA1 Message Date
Ben Siraphob
16d91ee628 pkgs/os-specific: stdenv.lib -> lib 2021-01-17 23:26:08 +07:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Dominik Xaver Hörl
387b59d9cf cpupower: explicitly set CC and LD to allow compilation with clang 2019-12-02 00:43:40 +01:00
Will Dietz
24777fd502 cpupower: push 'dir' suffix into generation func
bit silly for the odd-man-out "bash_completion_dir"
but IMO easier to read.
2019-01-13 17:12:21 -06:00
Will Dietz
f4a765d4b3 cpupower: fix w/5.0-rc1 (completion dir), rework a bit 2019-01-13 17:12:19 -06:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Tuomas Tynkkynen
9548028a22 Merge remote-tracking branch 'upstream/master' into staging
Conflicts:
	pkgs/os-specific/linux/cpupower/default.nix
2018-02-06 04:11:23 +02:00
Robin Gloster
39172792c6
linuxPackages.cpupower: clean up
fixes the build on 17.09
2018-02-05 12:51:42 +01:00
Ben Wolsieffer
84f54b898a cpupower: enable cross compilation 2018-01-28 18:47:22 -05:00
Tobias Geerinckx-Rice
5b217637f9
cpupower: correct meta.homepage 2016-05-09 02:57:07 +02:00
Pascal Wittmann
8df0e0b151 Fixed many descriptions 2014-11-11 14:36:34 +01:00
William A. Kennington III
171a58bcd6 cpupower: Add package to replace cpufrequtils 2014-04-16 01:09:57 +02:00