Commit Graph

31 Commits

Author SHA1 Message Date
R. Ryantm
d9302becf7 atlas: 1.2.3 -> 1.3.0 2026-08-02 15:35:44 +00:00
R. Ryantm
3d4c3f1bee atlas: 1.2.2 -> 1.2.3 2026-06-26 00:48:10 +00:00
R. Ryantm
ee4b4dc7ff atlas: 1.2.1 -> 1.2.2 2026-06-11 06:03:34 +00:00
R. Ryantm
1bab59a2f9 atlas: 1.2.0 -> 1.2.1 2026-06-02 00:42:18 +00:00
R. Ryantm
a223c050f3 atlas: 1.1.0 -> 1.2.0 2026-04-17 18:31:10 +00:00
R. Ryantm
78823f7ede atlas: 1.0.0 -> 1.1.0 2026-02-11 21:19:16 +00:00
R. Ryantm
058cb05c15 atlas: 0.38.0 -> 1.0.0 2025-12-24 20:50:24 +00:00
R. Ryantm
935c910957 atlas: 0.37.0 -> 0.38.0 2025-11-04 09:54:33 +00:00
h7x4
3725337277 treewide: gate command execution for installShellCompletion behind buildPlatform.canExecute hostPlatform (#442353) 2025-09-22 01:09:44 +00:00
R. Ryantm
f2621f1cd8 atlas: 0.36.1 -> 0.37.0 2025-09-17 20:46:08 +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
380a7ac5f4 atlas: 0.36.0 -> 0.36.1 2025-07-30 02:15:42 +00:00
R. Ryantm
9ad86c48fe atlas: 0.35.0 -> 0.36.0 2025-07-21 14:47:32 +00:00
Aaron Jheng
4471a6bbc2 atlas: 0.34.0 -> 0.35.0 2025-06-29 07:26:54 +08:00
R. Ryantm
e87a500d1f atlas: 0.33.1 -> 0.34.0 2025-06-03 08:23:22 +00:00
R. Ryantm
568b9ae4f7 atlas: 0.33.0 -> 0.33.1 2025-05-24 03:19:47 +00:00
R. Ryantm
ef78d32e60 atlas: 0.32.1 -> 0.33.0 2025-05-13 18:36:49 +00:00
R. Ryantm
f8641c7aab atlas: 0.32.0 -> 0.32.1 2025-04-24 00:49:34 +00:00
Daniel Nagy
88caeadfe9 atlas: use finalAttrs pattern 2025-04-15 18:15:00 +02: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
R. Ryantm
b5a7294cc3 atlas: 0.31.0 -> 0.32.0 2025-03-11 00:32:35 +00:00
R. Ryantm
92694ea9d0 atlas: 0.30.0 -> 0.31.0 2025-02-07 00:34:05 +00:00
R. Ryantm
a39d384f03 atlas: 0.29.1 -> 0.30.0 2025-01-07 02:39:53 +00:00
Aaron Jheng
f8c4632044 treewide: no 'with lib' 2024-12-21 00:47:04 +00:00
R. Ryantm
7e6e8f7c00 atlas: 0.29.0 -> 0.29.1 2024-12-19 01:53:57 +00:00
R. Ryantm
4d40d318f8 atlas: 0.28.1 -> 0.29.0 2024-11-27 14:03:10 +00:00
Aaron Jheng
ef18a2aa00 atlas: 0.28.0 -> 0.28.1 2024-10-18 09:10:21 +00:00
R. Ryantm
066b875a2d atlas: 0.27.0 -> 0.28.0 2024-10-03 08:09:35 +00:00
Aaron Jheng
d8abd48bcb atlas: 0.26.0 -> 0.27.0 2024-09-03 10:53:10 +00:00
Aaron Jheng
4a7b3001ab atlas: move to by-name 2024-08-28 07:09:53 +00:00