Commit Graph

11 Commits

Author SHA1 Message Date
Alexis Hildebrandt
6bbf1e914d got: 0.104 -> 0.105 2024-11-14 23:46:59 +01:00
Alexis Hildebrandt
6f217b2d15 got: 0.103 -> 0.104 2024-10-22 22:50:04 +02:00
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
casaca24
ee0753f986
got: 0.102 -> 0.103 2024-09-12 01:12:17 -06:00
Alexis Hildebrandt
6ac1b21e04 got: 0.101 -> 0.102 2024-08-15 19:57:23 +02:00
Alexis Hildebrandt
2b71767607 got: fix build on x86_64-darwin 2024-07-12 22:24:28 +02:00
Alexis Hildebrandt
523b575d8e got: 0.100 -> 0.101 2024-07-12 22:23:22 +02:00
Alexis Hildebrandt
9685532ff5 got: add withSsh flag and defaultEditor parameter 2024-07-02 21:58:02 +02:00
Alexis Hildebrandt
0fd77ad648 got: 0.99 -> 0.100 2024-06-03 22:11:13 +02:00
Alexis Hildebrandt
ea960350b3 got: 0.98.2 -> 0.99 2024-05-07 14:41:18 +02:00
Alexis Hildebrandt
ee9dc6280f got: 0.97 -> 0.98.2 2024-04-29 07:08:17 +02:00