nixpkgs/pkgs/build-support
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
..
add-opengl-runpath addOpenGLRunpath: only apply to ELF files 2019-05-23 16:52:45 -04:00
agda agda: install literate files 2020-06-01 13:59:20 +01:00
alternatives Merge pull request #92412 from matthewbauer/blas-cross 2020-08-15 08:55:57 +02:00
appimage appimage-run: parse readelf's output in C locale 2020-11-24 13:55:04 +01:00
bintools-wrapper bintools-wrapper: skip dynamic linker for static binaries 2020-12-27 16:42:11 +01:00
build-bazel-package buildBazelPackage: build name from pname/version 2020-10-28 17:55:10 +01:00
build-dotnet-package treewide: Make still dont* Variables are optional in most cases 2019-11-01 14:44:44 -04:00
build-fhs-userenv treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
build-fhs-userenv-bubblewrap buildFHSUserEnvBubblewrap: expand unshare options 2020-12-08 18:40:51 -08:00
build-setupcfg
buildenv buildenv: paths to link resolving to the same absolute path is not a conflict 2020-06-10 06:42:48 -03:00
cc-wrapper bintools-wrapper: skip dynamic linker for static binaries 2020-12-27 16:42:11 +01:00
coq coqPackages: refactor 2021-01-09 11:56:17 +01:00
docker dockerTools: Don't apologize 2021-01-06 13:02:19 +01:00
dotnetbuildhelpers treewide: pkg-config has targetPrefix 2020-05-16 00:21:21 +00:00
dotnetenv dotnetenv: editorconfig fixes 2020-09-21 08:30:58 +10:00
emacs emacs: fix accidental double wrapper (Darwin) 2021-01-08 05:45:15 +00:00
expand-response-params
fetchbitbucket
fetchbower
fetchbzr treewide: replace bazaar with breezy 2020-05-25 09:22:54 +02:00
fetchcvs
fetchdarcs
fetchdocker treewide: remove redundant quotes 2019-08-26 21:40:19 +00:00
fetchfirefoxaddon firefox: wrapper updating an addon perserves addon settings 2020-12-15 22:02:34 +01:00
fetchfossil fetchfossil: Depend on cacert 2020-10-24 16:43:05 +05:30
fetchgit nix-prefetch-git: also add store path to json output 2020-05-04 17:43:29 +05:30
fetchgithub
fetchgitiles fetchFromGitiles: init 2019-12-02 22:44:33 +00:00
fetchgitlab fetchgitlab: Escape a few more characters in the revision 2020-09-13 12:34:08 +02:00
fetchgitlocal
fetchgx
fetchhg
fetchipfs
fetchmavenartifact fetchMavenArtifact: fix generated url 2020-12-11 13:58:19 +01:00
fetchmtn
fetchnuget
fetchpatch fetchpatch: Allow using base64-encoded hash 2020-03-02 23:57:40 +01:00
fetchrepoorcz
fetchrepoproject fetchRepoProject: add manifestName parameter 2019-09-11 16:11:43 +00:00
fetchs3
fetchsavannah
fetchsvn fetchsvn: Fix for cross 2020-03-09 02:11:45 -04:00
fetchsvnrevision pkgs/*: add final newline to .nix files 2020-11-09 11:39:28 +00:00
fetchsvnssh
fetchurl mirrors: fix lua mirrors 2020-12-08 23:55:31 +01:00
fetchzip fetchzip: get write permission on unpacked directory 2020-12-04 03:28:00 +00:00
icon-conv-tools
install-shell-files Recover the complicated situation after my bad merge 2020-10-26 09:01:04 +01:00
kernel make-initrd: various improvements 2020-12-17 11:37:04 +01:00
libredirect python3Packages.python-engineio: fix build w/glibc-2.32 2020-09-12 23:04:50 +02:00
make-desktopitem make-desktopitem: desktop-file-utils is a nativeBuildInput 2020-11-27 01:17:32 +01:00
make-startupitem
make-symlinks
mkshell mkshell: improve mergeInputs 2019-06-23 22:20:10 +02:00
mono-dll-fixer
nix-gitignore Revert "nix-gitignore: Optimise performance" 2020-12-27 08:04:16 -05:00
nuke-references nukeReferences: Use stdenvNoCC 2019-10-11 17:12:09 +02:00
ocaml buildDunePackage: use dune install instead of opaline 2020-12-21 00:43:33 +01:00
oci-tools ociTools: init 2019-09-04 22:46:42 +00:00
pkg-config-wrapper Revert "utils.bash: also "fix" cc-wrapper and pkg-config-wrapper" 2020-09-07 16:31:59 +02:00
prefer-remote-fetch
references-by-popularity
release nixos/testing: remove remaining coverage-data logic 2020-09-05 16:07:59 +02:00
remove-references-to
rust defaultCrateOverrides: override crates necessary for building sequoia 2021-01-08 17:27:43 +01:00
setup-hooks Merge pull request #106954 from r-burns/randomseed 2021-01-02 11:01:34 +01:00
singularity-tools utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
skaware skawarePackages.cleanPackaging: copy docFiles before rm noise 2020-05-21 19:46:38 +02:00
snap doc: fix after snaptools merge 2019-07-10 08:02:14 -07:00
src-only srcOnly: rename buildInputs to nativeBuildInputs 2020-04-27 14:31:40 +02:00
substitute
substitute-files
templaterpm treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
upstream-updater treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
vm vmTools.debClosureGenerator: Fix non-determinism in dependency graph 2020-12-30 11:37:37 +01:00
wrapper-common Merge #97597: stdenv wrappers: improve purity checking 2020-09-24 10:58:10 +02:00
writers writers.writeNginxConfig: fix cross-compilation 2020-10-29 21:39:22 -04:00
build-maven.nix
build-pecl.nix php.buildPecl: Allow PECLs to depend on other PECLs 2020-05-09 23:38:21 +02:00
closure-info.nix treewide: remove unused variables (#63177) 2019-06-16 19:59:05 +00:00
dhall-to-nix.nix treewide: remove redundant quotes 2019-09-08 23:38:31 +00:00
plugins.nix
replace-dependency.nix
setup-systemd-units.nix
source-from-head-fun.nix
trivial-builders.nix nixos/systemd.tmpfiles.packages: fix an edge case 2020-08-16 10:23:53 +02:00