Commit Graph

12 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
07e73d8708 piping-server-rust: 0.16.0 -> 0.18.0 2024-03-03 00:57:17 +00:00
figsoda
6e2db5f9aa piping-server-rust: 0.15.0 -> 0.16.0
Diff: https://github.com/nwtgck/piping-server-rust/compare/v0.15.0...v0.16.0

Changelog: https://github.com/nwtgck/piping-server-rust/blob/v0.16.0/CHANGELOG.md
2023-03-04 12:09:49 -05:00
figsoda
8e36c2d5b6 piping-server-rust: 0.14.1 -> 0.15.0
Diff: https://github.com/nwtgck/piping-server-rust/compare/v0.14.1...v0.15.0

Changelog: https://github.com/nwtgck/piping-server-rust/blob/v0.15.0/CHANGELOG.md
2022-12-09 19:53:36 -05:00
figsoda
72a60822a7 piping-server-rust: 0.14.0 -> 0.14.1 2022-09-06 12:55:06 -04:00
R. Ryantm
7fb2042a1e piping-server-rust: 0.12.1 -> 0.14.0 2022-07-29 16:38:03 +00:00
R. Ryantm
4e9b08b913 piping-server-rust: 0.12.0 -> 0.12.1 2022-03-13 18:34:15 +00:00
R. Ryantm
4c00fb9588 piping-server-rust: 0.10.2 -> 0.12.0 2022-02-12 22:45:04 +00:00
figsoda
7cdb554cb9 piping-server-rust: 0.10.1 -> 0.10.2 2021-12-03 09:27:16 -05:00
figsoda
ef8eb89693 piping-server-rust: 0.9.1 -> 0.10.1 2021-11-28 13:32:50 -05:00
figsoda
669fa0790c piping-server-rust: fix darwin build 2021-10-30 12:52:23 -04:00
figsoda
090e4a21a5 piping-server-rust: init at 0.9.1 2021-10-22 12:57:59 -04:00