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/ab
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
..
ab-av1 treewide: skip generating shell completions using $out/bin/… when cross compiling 2024-08-04 10:50:48 +09:00
aba treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
ablog
abpoa abpoa: init at 1.5.1 2024-07-05 01:13:49 +09:00