Commit Graph

11 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
87f6deb55c cargo-xwin: 0.17.2 -> 0.17.3 2024-07-23 12:51:45 +00:00
R. Ryantm
06ecc97224 cargo-xwin: 0.17.1 -> 0.17.2 2024-07-08 11:37:14 +00:00
R. Ryantm
ee13f5cd20 cargo-xwin: 0.17.0 -> 0.17.1 2024-07-01 13:17:59 +00:00
R. Ryantm
9b034252fe cargo-xwin: 0.16.4 -> 0.17.0 2024-06-14 00:35:35 +00:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
R. Ryantm
40457c0aaf cargo-xwin: 0.16.3 -> 0.16.4 2024-02-02 08:01:56 +00:00
R. Ryantm
cbc10f8c7b cargo-xwin: 0.16.2 -> 0.16.3 2023-12-25 13:08:31 +00:00
R. Ryantm
9b11ad66d6 cargo-xwin: 0.14.9 -> 0.16.2 2023-12-13 14:34:05 +00:00
R. Ryantm
0f19fecbad cargo-xwin: 0.14.8 -> 0.14.9 2023-10-31 12:20:07 +00:00
shivaraj-bh
5d306745c7 cargo-xwin: init at 0.14.8 2023-10-23 02:09:18 +02:00