Commit graph

14 commits

Author SHA1 Message Date
Ben Siraphob 8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +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
Robin Gloster 2157dcd141
treewide: installFlags is a list 2019-12-30 13:22:43 +01:00
volth c814d72b51 treewide: name -> pname 2019-08-17 10:54:38 +00:00
Matthew Bauer 74c784a79c treewide: make -Wno-error flags clang-only
In 724e833ea2, I was a little too aggressive in enabling these flags.
Many don’t work in gcc, and we should probably avoid settings them
widely. This makes those flags optional on isclang
2019-04-29 21:34:24 -04:00
Matthew Bauer 724e833ea2 treewide: disable -Werror for llvm 7
Some of these have errors on newest llvm. It’s easiest to just add
-Wno-error in these cases.
2019-04-26 21:55:04 -04:00
Franz Pletz 2a021baf21 pbzip2: 1.1.12 -> 1.1.13 2016-04-12 15:51:32 +02:00
Vladimír Čunát 60e5e837bb pbzip2: fix a problem due to my bad refactoring 2015-11-24 10:07:21 +01:00
Vladimír Čunát bf58d24fe6 pbzip2: maintenance updates 1.1.9 -> 1.1.12 2015-11-24 10:04:25 +01:00
Mitch Tishmack 642ee7a77f pbzip2: g++ -> c++ to fix on darwin (close #11212)
vcunat made it apply unconditionally, as it works OK on Linux at least.
/cc maintainer @viric.
2015-11-24 10:03:22 +01:00
Pascal Wittmann 7fd2796e99 Replace 'with plaforms; platform' with 'platforms.platform' 2015-11-17 21:30:43 +01:00
Nikolay Amiantov f2a27d8d81 pbzip2: update package 2014-11-02 02:04:36 +03:00
Lluís Batlle i Rossell 4174b1a061 Adding pbzip2 (Parallel bzip2 for multicore machines)
svn path=/nixpkgs/trunk/; revision=19011
2009-12-17 11:10:01 +00:00