nixpkgs/pkgs/by-name/en
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
..
encled maintainers: drop lheckemann 2024-06-21 15:54:54 +02:00
endlessh-go treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
endlines
engage treewide: skip generating shell completions using $out/bin/… when cross compiling 2024-08-04 10:50:48 +09:00
envio treewide: add meta.mainProgram to packages with a single binary 2024-03-19 03:14:51 +01:00
envision envision: init at 0-unstable-2024-06-25 2024-07-01 21:53:05 +00:00
envision-unwrapped envision-unwrapped: 0-unstable-2024-06-25 -> 0-unstable-2024-07-03 2024-07-15 05:43:18 +00:00