3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

11 commits

Author SHA1 Message Date
Ben Siraphob 2f78ee7e81 pkgs/development: stdenv.lib -> lib 2021-01-24 00:16:29 +07:00
Jonathan Ringer 9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08: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
John Ericson 5c2965145f treewide: Inline more of the static overlay
Picking up where #107238 left off. I think I'll have gotten all the easy
stuff with this.
2021-01-03 21:46:14 +00:00
bhpdt c2d85c30ae woff2: use canonical prefixes
When building with a native stdenv, which wraps CC, we need to resolve nix store
symlinks when building woff2.
2020-11-16 18:42:48 -05:00
Tobias Mayer 0aeacdeaae woff2: add pkgsStatic support 2019-12-29 23:30:21 +01:00
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Matthew Bauer 0e04356153 woff2: supports darwin 2018-05-31 12:34:15 -04:00
Herwig Hochleitner 86fbdfdd4c woff2: propagate brotli build input
brotli is a runtime dependency, as per pc files in woff2.dev

cc @hrdinka
2018-03-15 01:52:52 +01:00
Christoph Hrdinka 17a4f0f756
woff2: set platforms to linux only
Signed-off-by: Christoph Hrdinka <c.github@hrdinka.at>
2018-01-13 12:43:18 +01:00
Christoph Hrdinka d07bc8bb30
woff2: init at 1.0.2
Signed-off-by: Christoph Hrdinka <c.github@hrdinka.at>
2017-12-29 11:38:08 +01:00