Commit Graph

26 Commits

Author SHA1 Message Date
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
R. Ryantm
2c5d0d710e abpoa: 1.5.2 -> 1.5.3 2024-09-19 01:19:01 +00:00
Peder Bergebakken Sundt
55bcf5fcac
abctl: init at 0.13.1 (#337569) 2024-09-17 00:10:39 +02:00
Xelden
c0307f0972 abctl: init at 0.13.1 2024-09-16 11:29:29 -05:00
t4ccer
cf6bccd822
abcmidi: 2024.08.11 -> 2024.08.13 2024-09-07 22:28:35 -06:00
Peder Bergebakken Sundt
ebc2389134 treewide: remove refs/tags/ from github release meta.changelog urls
diff of `jq <packages.json 'to_entries[]|"\(.key) \(.value.meta.changelog)"' -r`:

https://gist.github.com/pbsds/49b2e2ae5c9b967a0972bbc3c2597c12
2024-08-29 22:45:00 -04:00
R. Ryantm
97bff0278b ab-av1: 0.7.16 -> 0.7.17 2024-08-16 11:24:55 +00:00
Nick Cao
bd74a57d99
Merge pull request #334427 from r-ryantm/auto-update/ablog
ablog: 0.11.10 -> 0.11.11
2024-08-14 15:40:16 -04:00
Sebastián Mancilla
53160fe2e2
Merge pull request #330368 from natsukium/abpoa/update
abpoa: 1.5.1 -> 1.5.2
2024-08-13 21:29:42 -04:00
R. Ryantm
ddfb7ef57b ablog: 0.11.10 -> 0.11.11 2024-08-13 16:20:01 +00:00
Robert Schütz
943d75b117 abcmidi: modernize 2024-08-12 07:34:53 -07:00
Robert Schütz
fe02238662 abcmidi: move to pkgs/by-name 2024-08-12 07:25:25 -07: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
natsukium
a414c8b4ac
abpoa: 1.5.1 -> 1.5.2
Diff: https://github.com/yangao07/abPOA/compare/refs/tags/v1.5.1...v1.5.2

Changelog: https://github.com/yangao07/abPOA/releases/tag/refs/tags/v1.5.2
2024-07-27 18:55:54 +09:00
R. Ryantm
5db5c530d9 ab-av1: 0.7.15 -> 0.7.16 2024-07-13 09:34:59 +00:00
OTABI Tomoya
72966ff6cf
Merge pull request #324590 from natsukium/truvari/update
truvari: 4.1.0 -> 4.2.2; abpoa: init at 1.5.1
2024-07-12 14:37:07 +09:00
natsukium
c4de28bc2d
abpoa: init at 1.5.1
https://github.com/yangao07/abPOA
2024-07-05 01:13:49 +09:00
R. Ryantm
436596b5fd ab-av1: 0.7.14 -> 0.7.15 2024-07-02 00:32:11 +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
lucasew
1e1685f116 ablog: 0.11.8 -> 0.11.10
Signed-off-by: lucasew <lucas59356@gmail.com>
2024-05-16 13:04:30 -03:00
lucasew
4d6e011773 ablog: move to by-name, fix build
Signed-off-by: lucasew <lucas59356@gmail.com>
2024-05-16 13:03:49 -03:00
Mario Rodas
2becf6e837 maintainers: drop marsam 2024-04-24 04:20:00 +00:00
Mario Rodas
0113a28f5f ab-av1: init at 0.7.14 2024-04-19 04:20:00 +00:00
Gustavo Coutinho de Souza
29d1b59b2d
aba: 0.7.1 -> 0.8.0 2023-12-02 21:48:35 -03:00
Gustavo Coutinho de Souza
f4f39bab16
aba: 0.7.0 -> 0.7.1
And also the following changes:

1. Make use of `just` as the build framework; and
2. Remove meta attribute platforms, since it is set by
   `buildRustPackage`.
2023-11-02 23:46:54 -03:00
Gustavo Coutinho de Souza
82ee010f3e
aba: init at 0.7.0 2023-10-26 08:02:21 -03:00