Commit Graph

13 Commits

Author SHA1 Message Date
R. Ryantm
7097d5ff26 algolia-cli: 1.8.4 -> 1.16.0 2026-08-09 06:16:27 +00:00
Marcin Serwin
c1b9d04d9c maintainers: drop momeemt
Signed-off-by: Marcin Serwin <marcin@serwin.dev>
2026-06-04 12:05:36 +02:00
R. Ryantm
518d84283c algolia-cli: 1.8.2 -> 1.8.4 2026-05-12 15:48:11 +00:00
R. Ryantm
8e39b950e8 algolia-cli: 1.7.3 -> 1.8.2 2026-04-18 00:48:07 +00:00
R. Ryantm
6a5fe9557e algolia-cli: 1.7.2 -> 1.7.3 2026-01-22 18:34:56 +00:00
R. Ryantm
5f0d402f11 algolia-cli: 1.7.1 -> 1.7.2 2025-12-16 15:44:10 +00:00
Peder Bergebakken Sundt
8bffdd4ccf treewide: gate command execution for installShellCompletion behind buildPlatform.canExecute hostPlatform
This treewide conditions execution of the built applications for the purpose of generating shell completions behind `stdenv.buildPlatform.canExecute stdenv.hostPlatform`, which helps cross. This is a common issue I spot during review, let's prevent copy-paste errors by fixing it treewide.

Candidates were located with:

```shell
rg 'installShellCompletion' -l -tnix | xargs grep -F 'stdenv.buildPlatform.canExecute stdenv.hostPlatform' -L
```

Then I migrated the obvious cases which would not require a rebuild, as a means of testing.
This diff was not scripted. Should be zero rebuilds.

<details>
<summary>
Alternatives
</summary>

Alternatively I could have use this pattern:

```nix
postInstall = lib.optionalString (stdenv.hostPlatform.emulatorAvailable buildPackages) (
let
    emulator = stdenv.hostPlatform.emulator buildPackages;
in
''
    installShellCompletion --cmd foobar \
    --bash <(${emulator} $out/bin/foobar completion bash) \
    --fish <(${emulator} $out/bin/foobar completion fish) \
    --zsh <(${emulator} $out/bin/foobar completion zsh)
''
);
```

but that would cause rebuilds and will also require testing.

---

An other alternative is to use the binary from the corresponding package in `buildPackages`.
This however would also cause rebuilds and will also require testing.

</details>
2025-09-12 14:08:39 +02:00
R. Ryantm
79c3e2cc92 algolia-cli: 1.7.0 -> 1.7.1 2025-09-11 16:18:10 +00:00
Guy Chronister
b3f74569d7 treewide: migrate rev to tag batch 2 2025-06-24 13:24:35 +00:00
R. Ryantm
a3e2f0cc2e algolia-cli: 1.6.11 -> 1.7.0 2025-06-11 14:59:02 +00:00
Winter
a19cd4ffb1 Revert "treewide: replace rev with tag"
This reverts commit 65a333600d.

This wasn't tested for correctness with something like fodwatch [0],
and should not have been (self-)merged so quickly, especially without
further review.

It also resulted in the breakage of at least one package [1] (and that's
the one we know of and was caught).

A few packages that were updated in between this commit and this revert
were not reverted back to using `rev`, but other than that, this is a
1:1 revert.

[0]: https://codeberg.org/raphaelr/fodwatch
[1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e458
2025-04-08 02:57:25 -04:00
Pol Dellaiera
65a333600d treewide: replace rev with tag 2025-04-07 16:57:22 +02:00
Mutsuha Asada
81e6fd8126 algolia-cli: move to by-name and modernize derivation
- Removed `with lib;`
- Formatted via nixfmt
- Removed `rec`
2024-09-22 18:01:53 +09:00