nixpkgs/pkgs/tools/nix
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
..
alejandra treewide: Remove the definite article from meta.description 2024-06-09 23:08:46 +02:00
dnadd
fh treewide: skip generating shell completions using $out/bin/… when cross compiling 2024-08-04 10:50:48 +09:00
gridlock
info
nix-init
nix-melt treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
nix-output-monitor nix-output-monitor: 2.1.2 -> 2.1.3 2024-07-28 21:38:18 +02:00
nix-query-tree-viewer treewide: change cargoSha256 with SRI hash to cargoHash 2024-07-03 21:53:11 +08:00
nix-script treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
nixci nixci: add rsrohitsingh682 as a maintainer 2024-07-25 13:05:04 +05:30
nixdoc nixdoc: 3.0.5 -> 3.0.7 2024-06-10 19:13:26 +00:00
nixel treewide: change cargoSha256 with SRI hash to cargoHash 2024-07-03 21:53:11 +08:00
nixos-generators
nixos-install-tools binlore: migrate override lore to package passthru 2024-07-04 11:15:05 -05:00
nixos-option treewide: remove unused with statements from maintainer lists 2024-07-29 10:06:20 +08:00
nixos-render-docs treewide: Pass self when overriding Python 2024-08-03 12:18:56 +12:00
nixpkgs-hammering treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
nixpkgs-lint treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
npins treewide: change cargoSha256 with SRI hash to cargoHash 2024-07-03 21:53:11 +08:00
rnix-hashes treewide: change cargoSha256 with SRI hash to cargoHash 2024-07-03 21:53:11 +08:00
statix treewide: change cargoSha256 with SRI hash to cargoHash 2024-07-03 21:53:11 +08:00
zon2nix
web-devmode.nix web-devmode: call as package 2024-07-26 13:43:59 -07:00