Commit Graph

27 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
ef5eb40182 oha: 1.4.5 -> 1.4.6 2024-08-17 14:16:46 +00:00
R. Ryantm
101fda2ba9 oha: 1.4.4 -> 1.4.5 2024-05-29 13:57:26 +00:00
R. Ryantm
9a16d24b10 oha: 1.4.1 -> 1.4.4 2024-04-23 05:52:53 +00:00
R. Ryantm
52b3676ba4 oha: 1.4.0 -> 1.4.1 2024-03-17 01:19:33 +00:00
R. Ryantm
986f5ee428 oha: 1.3.0 -> 1.4.0 2024-03-09 12:37:51 +00:00
h7x4
8121f3559a
treewide: add mainProgram 2024-02-11 03:19:15 +01:00
Muhammad Falak R Wani
4239493ca1 oha: 1.2.0 -> 1.3.0
Diff: https://github.com/hatoo/oha/compare/refs/tags/v1.2.0...v1.3.0
Changelog: https://github.com/hatoo/oha/blob/v1.3.0/CHANGELOG.md
Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
2024-02-05 12:36:12 +05:30
R. Ryantm
6978ccfb1b oha: 1.1.0 -> 1.2.0 2024-02-03 09:37:12 +00:00
Muhammad Falak R Wani
41f6cde5a5 oha: 1.0.0 -> 1.1.0
Diff: https://github.com/hatoo/oha/compare/refs/tags/v1.0.0...v1.1.0
Changelog: https://github.com/hatoo/oha/blob/v1.1.0/CHANGELOG.md
Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
2024-01-17 11:20:35 +05:30
figsoda
9756e4769d oha: 0.6.5 -> 1.0.0
Diff: https://github.com/hatoo/oha/compare/refs/tags/v0.6.5...v1.0.0

Changelog: https://github.com/hatoo/oha/blob/v1.0.0/CHANGELOG.md
2023-11-16 09:49:15 -05:00
figsoda
7ca3be6b35 oha: 0.6.4 -> 0.6.5
Diff: https://github.com/hatoo/oha/compare/refs/tags/v0.6.4...v0.6.5

Changelog: https://github.com/hatoo/oha/blob/v0.6.5/CHANGELOG.md
2023-10-09 13:57:48 -04:00
figsoda
37ff97c18f oha: 0.6.3 -> 0.6.4
Diff: https://github.com/hatoo/oha/compare/refs/tags/v0.6.3...v0.6.4

Changelog: https://github.com/hatoo/oha/blob/v0.6.4/CHANGELOG.md
2023-09-24 10:41:11 -04:00
figsoda
cc083150d0 oha: 0.6.2 -> 0.6.3
Diff: https://github.com/hatoo/oha/compare/refs/tags/v0.6.2...v0.6.3

Changelog: https://github.com/hatoo/oha/blob/v0.6.3/CHANGELOG.md
2023-09-05 08:42:51 -04:00
figsoda
f556a50552 oha: 0.6.1 -> 0.6.2
Diff: https://github.com/hatoo/oha/compare/refs/tags/v0.6.1...v0.6.2

Changelog: https://github.com/hatoo/oha/blob/v0.6.2/CHANGELOG.md
2023-08-12 09:44:31 -04:00
figsoda
255dae6d29 oha: 0.6.0 -> 0.6.1
Diff: https://github.com/hatoo/oha/compare/refs/tags/v0.6.0...v0.6.1

Changelog: https://github.com/hatoo/oha/blob/v0.6.1/CHANGELOG.md
2023-07-12 08:45:24 -04:00
figsoda
2b8a48c7e8 oha: 0.5.9 -> 0.6.0
Diff: https://github.com/hatoo/oha/compare/refs/tags/v0.5.9...v0.6.0

Changelog: https://github.com/hatoo/oha/blob/v0.6.0/CHANGELOG.md
2023-06-24 10:15:28 -04:00
figsoda
ea118c2b96 oha: 0.5.8 -> 0.5.9
Diff: https://github.com/hatoo/oha/compare/refs/tags/v0.5.8...v0.5.9

Changelog: https://github.com/hatoo/oha/blob/v0.5.9/CHANGELOG.md
2023-06-12 09:22:38 -04:00
figsoda
309e59471f oha: 0.5.7 -> 0.5.8
Diff: https://github.com/hatoo/oha/compare/refs/tags/v0.5.7...v0.5.8

Changelog: https://github.com/hatoo/oha/blob/v0.5.8/CHANGELOG.md
2023-03-25 10:54:30 -04:00
figsoda
30334423e6 oha: 0.5.6 -> 0.5.7
Diff: https://github.com/hatoo/oha/compare/refs/tags/v0.5.6...v0.5.7

Changelog: https://github.com/hatoo/oha/blob/v0.5.7/CHANGELOG.md
2023-02-25 10:42:11 -05:00
figsoda
0efd891eeb oha: 0.5.5 -> 0.5.6
Diff: https://github.com/hatoo/oha/compare/v0.5.5...v0.5.6

Changelog: https://github.com/hatoo/oha/blob/v0.5.6/CHANGELOG.md
2023-02-02 15:16:32 -05:00
figsoda
19e4e54dc8 oha: 0.5.4 -> 0.5.5 2022-09-19 09:00:22 -04:00
figsoda
66729606cf oha: 0.5.3 -> 0.5.4 2022-08-27 16:46:55 -04:00
figsoda
6132fda020 oha: 0.5.0 -> 0.5.3 2022-08-05 09:31:03 +08:00
figsoda
c73b3c0383 oha: 0.4.7 -> 0.5.0 2022-01-07 09:29:23 -05:00
figsoda
0b14dd0686 oha: 0.4.6 -> 0.4.7 2021-10-15 07:54:15 -04:00
figsoda
7c14722201 oha: init at 0.4.6 2021-09-09 10:03:45 -04:00