Commit Graph

7 Commits

Author SHA1 Message Date
Julius Michaelis
2fd334dc73 trashy: move installShellCompletion to postInstall for consistency 2024-08-04 10:50:48 +09: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
figsoda
7320cd6f0f trashy: limit platforms to linux 2023-05-14 16:49:43 -04:00
figsoda
3a0b1aff7a trashy: remove patch, clean up 2023-02-26 00:14:15 -05:00
Vonfry
c72d62afa2
trashy: 1.0.3 -> 2.0.0 2023-01-25 10:48:59 +08:00
brian
6606e3dadd trashy: init at 1.0.3 2022-08-23 09:39:30 -04:00