Commit Graph

12 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
Julius Michaelis
7454971deb inlyne: fix installing shell completions
upstream recommends using cargo xtask gen, but checks in the results
2024-08-04 10:42:36 +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
R. Ryantm
e3303beb0c inlyne: 0.4.1 -> 0.4.2 2024-04-07 01:42:24 +00:00
R. Ryantm
64cbf865f0 inlyne: 0.4.0 -> 0.4.1 2024-03-17 11:39:49 +00:00
TornaxO7
3c99de3390
inlyne: 0.3.2 -> 0.4.0 2024-02-19 00:48:52 +01:00
h7x4
8121f3559a
treewide: add mainProgram 2024-02-11 03:19:15 +01:00
figsoda
083d4ff4c3 inlyne: 0.3.1 -> 0.3.2
Diff: https://github.com/trimental/inlyne/compare/v0.3.1...v0.3.2

Changelog: https://github.com/trimental/inlyne/releases/tag/v0.3.2
2023-11-28 14:40:31 -05:00
figsoda
e71b93b1c6 inlyne: 0.2.1 -> 0.3.1
Diff: https://github.com/trimental/inlyne/compare/v0.2.1...v0.3.1

Changelog: https://github.com/trimental/inlyne/releases/tag/v0.3.1
2023-05-09 18:29:29 -04:00
R. Ryantm
c075296bff inlyne: 0.2.0 -> 0.2.1 2022-10-21 17:41:15 +00:00
Artturin
61c3058bcb all-packages.nix: remove inherit (*xorg) *'s
using inherits in callPackage args is discouraged and doesn't splice
correctly
2022-10-14 20:48:09 +03:00
figsoda
c0b69f5719 inlyne: init at 0.2.0 2022-09-28 19:18:50 -04:00