Commit Graph

15 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
7ee4a85b40 oranda: 0.6.3 -> 0.6.5 2024-08-09 01:48:07 +00:00
R. Ryantm
82bac23a4e oranda: 0.6.2 -> 0.6.3 2024-05-04 03:31:01 +00:00
R. Ryantm
6034b81ab7 oranda: 0.6.1 -> 0.6.2 2024-02-23 22:09:47 +00:00
h7x4
8121f3559a
treewide: add mainProgram 2024-02-11 03:19:15 +01:00
R. Ryantm
0f751d00cc oranda: 0.5.0 -> 0.6.1 2023-12-27 10:11:07 +00:00
figsoda
ef0aaeba29 oranda: 0.4.1 -> 0.5.0
Diff: https://github.com/axodotdev/oranda/compare/v0.4.1...v0.5.0

Changelog: https://github.com/axodotdev/oranda/blob/v0.5.0/CHANGELOG.md
2023-10-12 10:17:04 -04:00
figsoda
100fcbca37 oranda: 0.4.0 -> 0.4.1
Diff: https://github.com/axodotdev/oranda/compare/v0.4.0...v0.4.1

Changelog: https://github.com/axodotdev/oranda/blob/v0.4.1/CHANGELOG.md
2023-09-27 11:27:44 -04:00
figsoda
da8348f186 oranda: 0.3.1 -> 0.4.0
Diff: https://github.com/axodotdev/oranda/compare/v0.3.1...v0.4.0

Changelog: https://github.com/axodotdev/oranda/blob/v0.4.0/CHANGELOG.md
2023-09-11 15:48:26 -04:00
figsoda
5c5d4c7282 oranda: 0.3.0 -> 0.3.1
Diff: https://github.com/axodotdev/oranda/compare/v0.3.0...v0.3.1

Changelog: https://github.com/axodotdev/oranda/blob/v0.3.1/CHANGELOG.md
2023-08-18 20:45:06 +02:00
figsoda
6208a37211 oranda: 0.2.0 -> 0.3.0
Diff: https://github.com/axodotdev/oranda/compare/v0.2.0...v0.3.0

Changelog: https://github.com/axodotdev/oranda/blob/v0.3.0/CHANGELOG.md
2023-08-17 12:44:32 -04:00
figsoda
3acd144f0a oranda: 0.1.1 -> 0.2.0
Diff: https://github.com/axodotdev/oranda/compare/v0.1.1...v0.2.0

Changelog: https://github.com/axodotdev/oranda/blob/v0.2.0/CHANGELOG.md
2023-07-19 12:21:32 -04:00
figsoda
fe1ee1fc03 oranda: 0.1.0 -> 0.1.1
Diff: https://github.com/axodotdev/oranda/compare/v0.1.0...v0.1.1

Changelog: https://github.com/axodotdev/oranda/blob/v0.1.1/CHANGELOG.md
2023-07-04 13:27:25 -04:00
figsoda
1a7adacc7e oranda: 0.0.3 -> 0.1.0
Diff: https://github.com/axodotdev/oranda/compare/v0.0.3...v0.1.0

Changelog: https://github.com/axodotdev/oranda/blob/v0.1.0/CHANGELOG.md
2023-07-03 10:38:59 -04:00
figsoda
3c6da3c0d3 oranda: init at 0.0.3 2023-05-09 19:37:44 -04:00