Commit Graph

13 Commits

Author SHA1 Message Date
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
faca719dd9 steamguard-cli: 0.14.1 -> 0.14.2 2024-08-05 16:36:48 +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
R. Ryantm
0d09fc7fa6 steamguard-cli: 0.14.0 -> 0.14.1 2024-07-22 01:22:41 +00: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
Alexis Hildebrandt
bf995e3641 treewide: Remove ending period from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*".*\.";' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*)\.";/\1";/'
2024-06-09 23:04:51 +02:00
R. Ryantm
d6401eeda1 steamguard-cli: 0.13.0 -> 0.14.0 2024-06-03 04:10:09 +00:00
R. Ryantm
da88d1cb6f steamguard-cli: 0.12.6 -> 0.13.0 2024-03-05 02:42:11 +00:00
R. Ryantm
d8b7b491c1 steamguard-cli: 0.12.5 -> 0.12.6 2024-02-19 23:13:18 +00:00
R. Ryantm
06ce9376de steamguard-cli: 0.12.3 -> 0.12.5 2023-12-09 11:28:05 +00:00
nat
0ede6c6972
steamguard-cli: 0.12.2 -> 0.12.3 2023-10-25 19:12:12 +02:00
nat
c7d9444e92
steamguard-cli: setup shell completions 2023-10-24 17:57:46 +02:00
nat
e12d996eb3
steamguard-cli: migrate to by-name 2023-10-24 17:15:14 +02:00