1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00
nixpkgs/pkgs/by-name/sn
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
..
sn-pro
sn0int treewide: skip generating shell completions using $out/bin/… when cross compiling 2024-08-04 10:50:48 +09:00
snapcraft treewide: Pass self when overriding Python 2024-08-03 12:18:56 +12:00
snekim pkgs/by-name: remove unused arguments 2024-07-26 10:11:07 +02:00
snes9x snes9x: enableParallelBuilding = true 2024-07-15 15:05:04 +01:00
snicat
sniffglue
snipaste
snipe-it snipe-it: 7.0.6 -> 7.0.7 2024-07-05 17:18:27 +00:00
snippetexpander snippetexpander: 1.0.2 -> 1.0.3 2024-07-16 08:40:08 +01:00
snippetexpanderd snippetexpander: 1.0.2 -> 1.0.3 2024-07-16 08:40:08 +01:00
snippetexpandergui pkgs/by-name: remove unused arguments 2024-07-26 10:11:07 +02:00
snippetexpanderx
snowmachine
snx-rs maintainers: drop lheckemann 2024-06-21 15:54:54 +02:00