Commit Graph

22 Commits

Author SHA1 Message Date
Peder Bergebakken Sundt
462b96d2a1
Merge pull request #326243 from jcaesar/pr-13
treewide: skip generating shell completions using $out/bin/… when cross compiling
2024-08-06 08:15:56 +02:00
R. Ryantm
11fb6504ee qrtool: 0.11.3 -> 0.11.4 2024-08-04 18:40:35 +00:00
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
738b237e32 qrtool: 0.11.2 -> 0.11.3 2024-07-22 20:45:03 +00:00
Sigmanificient
512e8afdb9 treewide: remove unused occurence of stdenv (and other) arguments
format (will squash)
2024-07-14 04:32:56 +02:00
Alexis Hildebrandt
ee7df61b37 qrtool: 0.11.0 -> 0.11.2 2024-07-12 07:25:32 +02:00
R. Ryantm
eb007c7814 qrtool: 0.10.13 -> 0.11.0 2024-07-06 06:11:52 +00:00
R. Ryantm
72cdb9ba97 qrtool: 0.10.10 -> 0.10.13 2024-06-29 02:37:41 +00: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
a2e6c252ba qrtool: 0.10.9 -> 0.10.10 2024-04-28 00:59:34 +00:00
R. Ryantm
e9608f00dc qrtool: 0.10.8 -> 0.10.9 2024-04-22 20:30:18 +00:00
R. Ryantm
38a4ac5695 qrtool: 0.10.7 -> 0.10.8 2024-04-16 11:10:55 +00:00
R. Ryantm
a6646d4d74 qrtool: 0.10.6 -> 0.10.7 2024-04-09 03:27:42 +00:00
R. Ryantm
a5dbbf9aa6 qrtool: 0.10.5 -> 0.10.6 2024-03-17 15:36:20 +00:00
R. Ryantm
93edfc259f qrtool: 0.10.4 -> 0.10.5 2024-02-19 00:59:41 +00:00
R. Ryantm
82ad38a675 qrtool: 0.10.2 -> 0.10.4 2024-01-22 14:57:21 +00:00
R. Ryantm
d4b11ca47c qrtool: 0.10.1 -> 0.10.2 2024-01-07 16:34:00 +00:00
R. Ryantm
a4aea63659 qrtool: 0.8.5 -> 0.10.1 2023-12-23 03:14:37 +00:00
Philip Taron
f5100278df
qrtool: use rustPlatform.buildRustPackage rec {
Rather than `let ... in` syntax per feedback from @atalii
2023-11-30 13:51:05 -08:00
Philip Taron
3da9fa3ad3
qrtool: add shell completions and man pages 2023-11-30 09:11:31 -08:00
Philip Taron
6b20d38e01
qrtool: 0.8.4 -> 0.8.5
I added `asciidoctor` to the nativeBuildInputs as I saw warnings that it
wasn't found as I built the tool.

I also stopped using `rec` syntax as the nixpkgs manual recommends
[against it](https://nixos.org/manual/nixpkgs/unstable/#mkderivation-recursive-attributes).

However, `rustPlatform.buildRustPackage` doesn't allow the use of
`mkDerivation (finalAttrs: {` form, so it's just a simple `let` binding
here.
2023-11-30 08:13:04 -08:00
Philip Taron
9a863b8044
qrtool: init at 0.8.4 2023-11-08 09:05:22 -08:00