Commit Graph

7 Commits

Author SHA1 Message Date
R. Ryantm
1e139dd141 zola: 0.19.1 -> 0.19.2 2024-08-16 07:56:52 +00:00
Peder Bergebakken Sundt
462b96d2a1
Merge pull request #326243 from jcaesar/pr-13
treewide: skip generating shell completions using $out/bin/… when cross compiling
2024-08-06 08:15:56 +02:00
R. Ryantm
9d30e42e53 zola: 0.18.0 -> 0.19.1 2024-08-05 05:30:54 +00:00
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
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
ivan770
e8cfe721c7 zola: 0.17.2 -> 0.18.0 2023-12-26 18:25:19 -05:00