Commit Graph

12 Commits

Author SHA1 Message Date
Bruno Bigras
4605890976 dumbpipe: 0.17.0 -> 0.18.0 2024-10-01 23:57:39 -04: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
R. Ryantm
4951e27030 dumbpipe: 0.16.0 -> 0.17.0 2024-09-21 22:36:48 +00:00
R. Ryantm
063aa0109d dumbpipe: 0.13.0 -> 0.16.0 2024-09-09 13:23:37 +00:00
R. Ryantm
03946f9b10 dumbpipe: 0.12.0 -> 0.13.0 2024-07-23 01:03:08 +00:00
R. Ryantm
e1c37886e7 dumbpipe: 0.11.0 -> 0.12.0 2024-07-10 03:29:56 +00:00
R. Ryantm
644a77dbd7 dumbpipe: 0.10.0 -> 0.11.0 2024-06-28 00:41:15 +00:00
R. Ryantm
22f6906bdd dumbpipe: 0.9.0 -> 0.10.0 2024-06-08 00:39:11 +00:00
R. Ryantm
873412e444 dumbpipe: 0.8.0 -> 0.9.0 2024-05-25 01:32:36 +00:00
R. Ryantm
75efe411e5 dumbpipe: 0.7.0 -> 0.8.0 2024-05-14 01:35:34 +00:00
R. Ryantm
30f499e236 dumbpipe: 0.6.0 -> 0.7.0 2024-04-30 01:05:41 +00:00
cameronfyfe
c0ee181ad5 dumbpipe: init at 0.6.0 2024-04-27 23:16:03 +10:00