Commit Graph

8 Commits

Author SHA1 Message Date
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
Mario Rodas
efd178f207 bws: update meta 2024-04-06 04:20:00 +00:00
Mario Rodas
1418413833 bws: build with --package 2024-04-06 04:20:00 +00:00
Mario Rodas
6ecf48c936 bws: install completions 2024-04-06 04:20:00 +00:00
Mario Rodas
95974f051c bws: cleanup dependencies 2024-04-06 04:20:00 +00:00
Mario Rodas
422e5c7019 bws: fix build on darwin 2024-04-06 04:20:00 +00:00
seth
775c6f4943
bws: 0.3.0 -> 0.4.0 2024-01-05 22:19:00 -05:00
Mostly Void
92f9132366
bws: init at 0.3.0 2023-08-08 01:15:32 +03:00