nixpkgs/pkgs/by-name/jo
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
..
job-security
jogl treewide: set meta.changelog 2024-07-07 15:20:06 +02:00
joshuto treewide: skip generating shell completions using $out/bin/… when cross compiling 2024-08-04 10:50:48 +09:00
josm josm: 19128 → 19160 2024-08-03 23:19:29 +02:00
joularjx
journalist journalist: init at 1.0.0-unstable-2024-06-15 2024-06-28 16:10:18 +08:00
journalwatch
joycond-cemuhook