Commit Graph

17 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
5713d5d50e martin: 0.9.0 -> 0.9.1 2023-10-11 18:37:10 +00:00
Nikolay Korotkiy
a2ad48c94e
martin: fix darwin 2023-10-06 16:32:35 +04:00
R. Ryantm
158a4b0958 martin: 0.8.7 -> 0.9.0 2023-10-06 03:36:40 +00:00
R. Ryantm
b9cef74b63 martin: 0.8.6 -> 0.8.7 2023-06-28 22:52:55 +00:00
R. Ryantm
20729ee2a5 martin: 0.8.4 -> 0.8.6 2023-06-06 07:34:18 +00:00
R. Ryantm
ea6de8fa4f martin: 0.8.3 -> 0.8.4 2023-06-03 00:43:04 +00:00
R. Ryantm
4d28c34fff martin: 0.8.2 -> 0.8.3 2023-05-26 06:37:57 +00:00
R. Ryantm
a978f93e1f martin: 0.8.1 -> 0.8.2 2023-05-13 01:33:41 +00:00
R. Ryantm
7fdaba883b martin: 0.8.0 -> 0.8.1 2023-03-30 04:42:11 +00:00
Nikolay Korotkiy
21a9621a44
martin: 0.7.2 → 0.8.0 2023-03-17 21:31:05 +04:00
Nikolay Korotkiy
b6ac0f0b45
martin: 0.7.0 → 0.7.2 2023-02-23 19:00:27 +03:00
Nikolay Korotkiy
a49354a8c6
martin: 0.6.2 → 0.7.0 2023-02-18 16:11:47 +03:00
Nikolay Korotkiy
d2e224287d
martin: 0.6.1 → 0.6.2 2022-12-18 13:15:04 +03:00
Nikolay Korotkiy
6b3271ebee
martin: 0.5.0 → 0.6.1 2022-11-22 16:33:21 +03:00
Theodore Ni
06eccdaa8b
martin: patch to work with rust 1.64 2022-10-07 15:47:17 -07:00
Nikolay Korotkiy
156532fdc0
Move geospatial servers into its own folder 2022-05-31 14:30:40 +03:00