Commit Graph

7 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
Reno Dakota
1c3f1d0877
ueberzugpp: fix strictDeps
add wayland-scanner to fix strictDeps
2024-08-15 11:25:13 +00:00
R. Ryantm
f251e70c2a ueberzugpp: 2.9.5 -> 2.9.6 2024-06-09 15:32:11 +00:00
R. Ryantm
c1697d1e05 ueberzugpp: 2.9.4 -> 2.9.5 2024-05-11 13:22:51 +00:00
silvanshade
2d8b10e3f0
tbb: 2021.8.0 -> 2021.11.0 (#301391)
Co-authored-by: silvanshade <silvanshade@users.noreply.github.com>
2024-04-05 17:36:37 +02:00
Weijia Wang
026674af76 ueberzugpp: 2.9.3 -> 2.9.4 2024-02-26 07:25:15 +01:00
Weijia Wang
be840e52ed ueberzugpp: move to pkgs/by-name 2024-02-24 23:56:57 +01:00