Commit Graph

20 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
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
h7x4
8121f3559a
treewide: add mainProgram 2024-02-11 03:19:15 +01:00
fortuneteller2k
d3c568b7bc maintainers: fortuneteller2k -> moni 2023-11-17 18:03:27 +08:00
Gabriel Fontes
8983a88f48
flavours: 0.7.0 -> 0.7.1 2023-05-02 16:30:39 -03:00
Gabriel Fontes
e6a506988a
flavours: add myself as maintainer 2023-05-02 00:28:51 -03:00
Gabriel Fontes
d6fe589819
flavours: 0.6.1 -> 0.7.0 2023-05-02 00:23:23 -03:00
R. Ryantm
7d3fb4598d flavours: 0.5.2 -> 0.6.1 2022-10-23 15:04:57 +00:00
R. Ryantm
b1d0b0afef flavours: 0.5.1 -> 0.5.2 2021-11-03 02:45:42 +00:00
R. Ryantm
c014dcd5ac flavours: 0.5.0 -> 0.5.1 2021-10-29 14:47:59 +00:00
Gabriel Fontes
5ca13195a2 flavours: specify buildInputs without unneeded concatenation
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-06-30 11:06:43 -07:00
Gabriel Fontes
18f93edb9d flavours: install shell completions using process substitution
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-06-30 11:06:43 -07:00
Gabriel Fontes
93c6f425a4 flavours: remove sha256 prefix from cargo hash
Co-authored-by: fortune <lythe1107@gmail.com>
2021-06-30 11:06:43 -07:00
Gabriel Fontes
bb56927c2c flavours: 0.4.0 -> 0.5.0
Update to follow upstream

Add shell (bash, zsh, fish) completions
2021-06-30 11:06:43 -07:00
Jan Tojnar
594a885912
Merge branch 'staging-next' into staging 2021-05-10 09:45:47 +02:00
fortuneteller2k
d8458c4564 flavours: add missing libiconv dependency on darwin 2021-05-09 10:28:42 +08:00
Daniël de Kok
85f96822a0 treewide: fix cargoSha256/cargoHash
Rust 1.50.0 incorporated a Cargo change (rust-lang/cargo#8937) in
which cargo vendor erroneously changed permissions of vendored
crates. This was fixed in Rust
1.51.0 (rust-lang/cargo#9131). Unfortunately, this means that all
cargoSha256/cargoHashes produced during the Rust 1.50.0 cycle are
potentially broken.

This change updates cargoSha256/cargoHash tree-wide.

Fixes #121994.
2021-05-08 00:36:37 -07:00
R. RyanTM
89827c0641 flavours: 0.3.6 -> 0.4.0 2021-04-01 08:07:11 +00:00
fortuneteller2k
3f93abd4ea flavours: 0.3.5 -> 0.3.6 2021-03-02 20:03:11 +08:00
fortuneteller2k
e7d1e15f45 flavours: init at 0.3.5 2021-02-06 00:23:25 +08:00