2
0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-02-22 12:04:40 +00:00
nixpkgs/pkgs/by-name/di
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
..
diagnostic-languageserver
dialog
didder
diesel-cli treewide: skip generating shell completions using $out/bin/… when cross compiling 2024-08-04 10:50:48 +09:00
diesel-cli-ext
diffedit3
digestpp
digikam treewide: finalAttrs.doCheck -> finalAttrs.finalPackage.doCheck 2024-07-30 18:32:01 +02:00
dillo
dillong
dim
dipc
dirbuster
direnv direnv: move to by-name 2024-07-31 09:10:32 +02:00
disarchive
discord-gamesdk
discordchatexporter-cli
discover-overlay
disk-filltest
disko
dispad dispad: move to by-name 2024-07-31 09:10:32 +02:00
displaycal
dissent dissent: 0.0.25 -> 0.0.26 2024-08-01 13:54:31 +00:00
distribution
dita-ot dita-ot: init at version 4.2.3 2024-07-25 10:58:02 +02:00