1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 19:51:17 +00:00
nixpkgs/pkgs/by-name/so
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
..
soco-cli
sof-tools
soju soju: apply nixfmt 2024-07-21 14:07:50 +03:00
solana-cli treewide: skip generating shell completions using $out/bin/… when cross compiling 2024-08-04 10:50:48 +09:00
solitaire-tui
solo5
sonarlint-ls
sonarr sonarr: 4.0.7.1863 -> 4.0.8.1874 2024-07-21 20:48:09 +02:00
sophus
sopwith
sound-of-sorting
soundfont-arachno
soupault
sourcery
sov
sozi