Commit Graph

14 Commits

Author SHA1 Message Date
R. Ryantm
58ee12dccd buildpack: 0.40.8 -> 0.40.9 2026-08-09 21:06:24 +00:00
R. Ryantm
1002e81ccb buildpack: 0.40.3 -> 0.40.8 2026-07-14 21:45:56 +00:00
Marcin Serwin
c1b9d04d9c maintainers: drop momeemt
Signed-off-by: Marcin Serwin <marcin@serwin.dev>
2026-06-04 12:05:36 +02:00
Thomas Butter
2d7e4a0780 buildpack: 0.37.0 -> 0.40.3 2026-04-27 05:41:10 +00:00
quantenzitrone
78681392fd buildpack: refactor
this shouldn't create any rebuilds
2026-02-07 09:48:31 +01:00
Gaël James
0e74d2b64c tree-wide: fetchgit, fetchFromGitHub, fetchFromGitLab, fetchFromGitea, fetchFromBitbucket, fetchFromSourcehut: use tag = instead of rev = refs/tags/... 2026-01-15 18:27:42 +01: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
Guy Chronister
1750d6c2fe treewide: replace pname with string literal in src 2025-06-18 12:13:07 +00:00
R. Ryantm
d50064f4e5 buildpack: 0.36.4 -> 0.37.0 2025-03-22 00:50:31 +00:00
R. Ryantm
a51f81e58f buildpack: 0.36.2 -> 0.36.4 2025-01-26 09:28:42 +00:00
R. Ryantm
ca006099ca buildpack: 0.36.1 -> 0.36.2 2024-12-28 12:46:01 +00:00
R. Ryantm
c1dae19aee buildpack: 0.36.0 -> 0.36.1 2024-12-18 03:11:24 +00:00
R. Ryantm
53c10e89fd buildpack: 0.35.1 -> 0.36.0 2024-11-27 03:03:04 +00:00
Mutsuha Asada
b5b06a23ec buildpack: moved to by-name 2024-10-01 14:44:22 +09:00