Commit Graph

9 Commits

Author SHA1 Message Date
R. Ryantm
92562a9d48 yaydl: 0.14.1 -> 0.15.5 2024-10-17 09:05:39 +00: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
Nick Cao
45d71087e4
Merge pull request #330969 from r-ryantm/auto-update/yaydl
yaydl: 0.14.0 -> 0.14.1
2024-07-30 16:45:49 -04:00
R. Ryantm
584ab07a6d yaydl: 0.14.0 -> 0.14.1 2024-07-30 00:30:47 +00:00
Jörg Thalheim
5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00
R. Ryantm
baf1e0acb2 yaydl: 0.13.0 -> 0.14.0 2024-02-28 22:30:12 +00:00
h7x4
b8054ecd8a treewide: add mainProgram 2023-11-23 21:04:16 +01:00
Earth Engine
47e7af84d1 maintainers: remove earthengine 2023-07-03 07:42:29 +00:00
Earth Engine
dc7641c3fd yaydl: init at 0.13.0 2023-06-26 05:14:52 +00:00