Commit Graph

10 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
Bobby Rong
177ee60e08
epiphany: 46.2 → 46.3
https://gitlab.gnome.org/GNOME/epiphany/-/compare/46.2...46.3
2024-08-06 21:22:45 +08:00
Bobby Rong
3f0861beb2
epiphany: 46.1 → 46.2
https://gitlab.gnome.org/GNOME/epiphany/-/compare/46.1...46.2
2024-07-04 22:39:54 +08:00
Jan Tojnar
33da2d9416 epiphany: Move from gnome scope to top-level 2024-07-01 08:26:47 +02:00
Weijia Wang
7566e46d76
Merge pull request #319035 from wegank/epoll-shim-bump
epoll-shim: 0.0.20230411 -> 0.0.20240608
2024-06-16 00:02:44 +02:00
Peder Bergebakken Sundt
7ac0e078e1
Merge pull request #291516 from perstarkse/epy_init
epy: init at 2023.6.11
2024-06-12 00:33:18 +02:00
Weijia Wang
f20872050b epoll-shim: move to pkgs/by-name 2024-06-11 13:00:35 +02:00
Per Stark
52e7c4d8d0 epy: init at 2023.6.11 2024-06-10 19:53:14 +02:00
R. Ryantm
f3a9c375cc epub-thumbnailer: 0-unstable-2024-03-16 -> 0-unstable-2024-03-26 2024-04-03 13:31:55 +02:00
Gaetan Lepage
8a085eb56f epub-thumbnailer: init at unstable-2024-03-16 2024-03-25 10:48:21 +01:00