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
R. Ryantm
b7b8b3a504 release-plz: 0.3.74 -> 0.3.79 2024-07-26 09:40:33 +00:00
R. Ryantm
7f1c4286e5 release-plz: 0.3.73 -> 0.3.74 2024-06-27 11:35:13 +00:00
R. Ryantm
2ca156f041 release-plz: 0.3.72 -> 0.3.73 2024-06-21 04:26:17 +00:00
Dan Nixon
f85f6e2a98 release-plz: init at 0.3.72 2024-06-15 22:14:47 +00:00