Commit Graph

9 Commits

Author SHA1 Message Date
R. Ryantm
1f8a3a157f collision: 3.8.1 -> 3.9.0 2024-10-07 06:10:40 +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
Jan Tojnar
04393cdded nautilus-python: Move from gnome scope to top-level 2024-07-01 08:26:44 +02:00
R. Ryantm
efcc044504 collision: 3.8.0 -> 3.8.1 2024-06-26 13:16:18 +00:00
lucasew
18d8d7757a collision: fix build
Signed-off-by: lucasew <lucas59356@gmail.com>
2024-05-18 11:23:48 -03:00
lucasew
5403ba0c3c collision: 3.6.0 -> 3.8.0
Signed-off-by: lucasew <lucas59356@gmail.com>
2024-05-16 15:05:45 -03:00
lucasew
6b5dd4d5a4 collision: add update script
Signed-off-by: lucasew <lucas59356@gmail.com>
2024-05-16 15:04:45 -03:00
sund3RRR
c1885ddd44 collision: 3.5.0 -> 3.6.0 2023-12-02 18:28:42 +03:00
sunder
df21f9e39c collision: init at 3.5.0 2023-07-19 11:56:50 +03:00