Commit Graph

18 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
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
Robert Schütz
cf1edac547 bzip3: 1.3.2 -> 1.4.0
Diff: https://github.com/kspalaiologos/bzip3/compare/1.3.2...1.4.0

Changelog: https://github.com/kspalaiologos/bzip3/blob/1.4.0/NEWS
2023-12-06 20:10:21 -08:00
Robert Schütz
45d23095bb bzip3: 1.3.1 -> 1.3.2
Diff: https://github.com/kspalaiologos/bzip3/compare/1.3.1...1.3.2

Changelog: https://github.com/kspalaiologos/bzip3/blob/1.3.2/NEWS
2023-08-06 11:39:16 -07:00
Robert Schütz
ae823091d6 bzip3: 1.3.0 -> 1.3.1
Diff: https://github.com/kspalaiologos/bzip3/compare/1.3.0...1.3.1

Changelog: https://github.com/kspalaiologos/bzip3/blob/1.3.1/NEWS
2023-05-22 02:40:16 -07:00
Robert Schütz
14113cb0d0 bzip3: 1.2.3 -> 1.3.0
Diff: https://github.com/kspalaiologos/bzip3/compare/1.2.3...1.3.0

Changelog: https://github.com/kspalaiologos/bzip3/blob/1.3.0/NEWS
2023-04-04 18:12:24 -07:00
Robert Schütz
5c4ad62a84 bzip3: 1.2.2 -> 1.2.3
Diff: https://github.com/kspalaiologos/bzip3/compare/1.2.2...1.2.3

Changelog: https://github.com/kspalaiologos/bzip3/blob/1.2.3/NEWS
2023-03-29 15:56:21 -07:00
John Ericson
839288b52a bzip3: Add meta.pkgConfigModules and test 2023-02-11 11:02:58 -05:00
Robert Schütz
ae46fb3cb6 bzip3: 1.2.1 -> 1.2.2
https://github.com/kspalaiologos/bzip3/releases/tag/1.2.2
2023-01-11 03:18:35 -08:00
R. Ryantm
d86977fda8 bzip3: 1.2.0 -> 1.2.1 2022-11-10 21:32:51 -08:00
Robert Schütz
a75977016b bzip3: 1.1.8 -> 1.2.0
https://github.com/kspalaiologos/bzip3/releases/tag/1.2.0
2022-11-07 15:21:40 -08:00
R. Ryantm
45844e841e bzip3: 1.1.7 -> 1.1.8 2022-10-26 09:53:05 +00:00
R. Ryantm
bf3d4513a1 bzip3: 1.1.6 -> 1.1.7 2022-10-25 08:45:02 -07:00
R. Ryantm
af3d02dfef bzip3: 1.1.5 -> 1.1.6 2022-10-06 05:58:04 +00:00
R. Ryantm
2019dffa1a bzip3: 1.1.4 -> 1.1.5 2022-09-06 09:35:18 +00:00
Robert Schütz
d873c7c5d9 bzip3: 1.1.3 -> 1.1.4 2022-06-26 04:19:53 +00:00
Mario Rodas
835be707da bzip3: fix build on darwin 2022-06-07 16:24:17 -07:00
Robert Schütz
c9e173fe09 bzip3: init at 1.1.3 2022-05-23 15:07:03 +00:00