Commit Graph

23 Commits

Author SHA1 Message Date
Julius Michaelis
6a9beaf893 treewide: skip generating shell completions using $out/bin/… when cross compiling
This focuses on Rust packages, since the most commonly used argument
parser library (clap/structopt) makes the following pattern natural and
thus common:

  postInstall = ''
    installShellCompletion --cmd foo \
      --bash <($out/bin/foo completion bash) \
      …

This commit just guards those with

lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform)

splitting the string where unrelated actions are performed.
2024-08-04 10:50:48 +09:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Mario Rodas
2becf6e837 maintainers: drop marsam 2024-04-24 04:20:00 +00:00
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
a3dfcb57c2 kbs2: 0.7.1 -> 0.7.2 2023-03-07 02:40:40 +00:00
Mario Rodas
fa50f57560 kbs2: 0.6.0 -> 0.7.1
https://github.com/woodruffw/kbs2/releases/tag/v0.7.0
https://github.com/woodruffw/kbs2/releases/tag/v0.7.1
2023-02-24 04:20:00 +00:00
Mario Rodas
dcb5e9baa0 kbs2: 0.5.1 -> 0.6.0
https://github.com/woodruffw/kbs2/releases/tag/v0.6.0
2022-07-09 04:20:00 +00:00
Mario Rodas
1e0ff115da kbs2: 0.5.0 -> 0.5.1 2022-02-18 04:20:00 +00:00
R. Ryantm
5d95c84f9b kbs2: 0.4.0 -> 0.5.0 2022-02-16 11:41:48 +00:00
Mario Rodas
3d3e024154 kbs2: 0.3.0 -> 0.4.0 2021-10-22 02:42:25 -05:00
Mario Rodas
887aae03b2 kbs2: fix build on darwin 2021-05-05 04:20:00 +00:00
R. RyanTM
ca6daab25b kbs2: 0.2.6 -> 0.3.0 2021-05-04 06:03:23 +00:00
R. RyanTM
618c4e9a96 kbs2: 0.2.5 -> 0.2.6 2021-02-23 05:21:13 +00:00
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
Mario Rodas
5b81081415 kbs2: 0.2.2 -> 0.2.5 2020-12-12 04:20:00 +00:00
Mario Rodas
359c54243c kbs2: 0.1.6 -> 0.2.2
https://github.com/woodruffw/kbs2/blob/v0.2.2/README.md
2020-12-06 04:20:00 +00:00
R. RyanTM
33e782aaf7 kbs2: 0.1.5 -> 0.1.6 2020-10-18 15:43:20 +00:00
Mario Rodas
19c5a183e5 kbs2: 0.1.4 -> 0.1.5 2020-10-05 20:00:00 -05:00
Mario Rodas
f6d71ecb8a kbs2: 0.1.3 -> 0.1.4 2020-08-30 11:14:15 -07:00
Mario Rodas
124e079632
kbs2: 0.1.2 -> 0.1.3 2020-07-20 22:52:49 -05:00
Mario Rodas
709734c063
kbs2: 0.1.1 -> 0.1.2 2020-07-14 04:20:00 -05:00
Mario Rodas
480191df6f
kbs2: init at 0.1.1 (#91911) 2020-07-01 04:58:37 -05:00