Commit Graph

9 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
Pyrox
0b8eaf081f
fetchCrate: sha256 -> hash
Should cause no rebuilds, as this is just updating attributes.
2024-07-14 13:48:13 -04:00
R. Ryantm
d4c7a536c0 leetcode-cli: 0.4.2 -> 0.4.3 2023-12-19 08:11:30 +00:00
William Kral
f277c9494e leetcode-cli: Add shell completions 2023-10-19 16:18:49 -07:00
kashw2
e2f4aedc42 added passthru version test 2023-08-14 12:51:14 +10:00
kashw2
73743d45e0 leetcode-cli: 0.4.1 -> 0.4.2 2023-08-14 12:51:14 +10:00
R. Ryantm
41ffad2b16 leetcode-cli: 0.3.11 -> 0.4.1 2023-06-28 13:13:51 +00:00
R. Ryantm
5fd3c44ede leetcode-cli: 0.3.10 -> 0.3.11 2022-07-28 19:36:38 +00:00
Congee
3b93e99c67 leetcode-cli: init at 0.3.10 2022-02-09 19:41:46 -08:00