Commit Graph

5 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
aviac
d387025ba3
codeberg-cli: change owner 2024-07-07 14:17:48 +02:00
R. Ryantm
77f304adad codeberg-cli: 0.4.0 -> 0.4.2 2024-06-26 12:52:09 +00:00
Olivér Falvai
2198797b30
codeberg-cli: fix darwin build 2024-05-24 16:59:27 +02:00
aviac
735fffa17b
chore: migrate to by-name package 2024-05-06 08:07:18 +02:00