Commit Graph

6 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
seth
f5f90aa696
diesel-cli: 2.1.1 -> 2.2.1
Changelog: https://github.com/diesel-rs/diesel/releases/tag/v2.2.1
Diff: https://github.com/diesel-rs/diesel/compare/v2.1.1...v2.2.1
2024-07-15 13:17:07 -04:00
seth
bc73ec689d
diesel-cli: modernize
- add version test
- skip tests requiring live database
- add updateScript
- update upstream URLs
  - linking directly to the diesel website makes more sense, as it's the
  actual homepage, not where the code is hosted
  the regular version changelogs should also include information on the
  cli
2024-07-10 15:38:29 -04:00
seth
342dab5b73
diesel-cli: add maintainer getchoo 2024-07-10 15:38:19 -04:00
seth
78a212761a
diesel-cli: format with nixfmt 2024-06-12 05:08:49 -04:00
seth
8ad3581ac9
diesel-cli: migrate to by-name 2024-06-12 05:08:31 -04:00