Commit Graph

10 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
Julius Michaelis
59b930d820 charasay: fix generating shell completions 2024-08-04 10:42:37 +09:00
Alexis Hildebrandt
f8c4a98e8e treewide: Remove the definite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"([Tt]he)? ' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Tt]he (.)/\1\U\2/'
2024-06-09 23:08:46 +02:00
R. Ryantm
a26053936b charasay: 3.1.0 -> 3.2.0 2023-12-29 08:52:03 +00:00
h7x4
41974d5ed9
treewide: add mainProgram 2023-11-27 02:17:53 +01:00
R. Ryantm
b5f80b41c5 charasay: 3.0.1 -> 3.1.0 2023-08-29 09:35:40 +00:00
R. Ryantm
3d8132b497 charasay: 3.0.0 -> 3.0.1 2023-07-22 22:57:00 +00:00
R. Ryantm
78e7de270c charasay: 2.1.0 -> 3.0.0 2023-06-30 14:39:31 +00:00
R. Ryantm
d8b8ef2304 charasay: 2.0.0 -> 2.1.0 2023-06-23 22:08:28 +00:00
Haseeb Majid
44ac233609 charasay: init at 2.0.0
Co-authored-by: figsoda <figsoda@pm.me>
2023-05-29 18:37:24 +01:00