Commit Graph

8 Commits

Author SHA1 Message Date
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
R. Ryantm
176590dcc3 safe: 1.7.0 -> 1.8.0 2023-03-01 14:38:39 +00:00
R. Ryantm
be9f2e02a3 safe: 1.6.1 -> 1.7.0 2022-08-29 00:26:58 +00:00
Mrinal Purohit
b93e9efd75 safe: 1.5.1 -> 1.6.1 2021-11-26 16:45:03 +05:30
zowoq
4235c6e4f0 safe: buildFlagsArray -> ldflags 2021-08-21 18:23:51 +10:00
Pavol Rusnak
a6ce00c50c
treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01: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
Jean-Philippe Braun
dd759b3b67 safe: init at 1.5.1 2020-02-11 16:09:54 +01:00