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
Peder Bergebakken Sundt
4619c4c492 remote-exec: migrate to pytest-cov-stub 2024-07-21 13:28:02 +02:00
Peder Bergebakken Sundt
66c0b7efe3 treewide: propagatedBuildInputs -> dependencies
Migrating the packages I maintain.
2024-04-26 01:13:52 +02:00
Peder Bergebakken Sundt
7151eeec48 treewide: --replace -> --replace-fail
Hardening the packages I maintain.
We use `--replace-fail` in every case except for `python3Packages.remi`, which does a glob `--replace-quiet` to reduce warnings
2024-04-21 21:44:20 +02:00
Peder Bergebakken Sundt
c2ba0016de remote-exec: 1.13.2 -> 1.13.3
release: https://github.com/remote-cli/remote/releases/tag/v1.13.3

diff: https://github.com/remote-cli/remote/compare/v1.13.2...v1.13.3
2024-02-13 12:03:00 +01:00
natsukium
2a2b137e32
remote-exec: pin pydantic_1 2023-12-20 20:15:31 +01:00
Peder Bergebakken Sundt
7cd25dd843 remote-exec: init at 1.13.2 2023-06-23 22:11:25 -03:00