Commit Graph

8 Commits

Author SHA1 Message Date
Gaetan Lepage
ec935787a1 hatch: 1.12.0 -> 1.13.0
Diff: https://github.com/pypa/hatch/compare/refs/tags/hatch-v1.12.0...hatch-v1.13.0

Changelog: https://github.com/pypa/hatch/blob/hatch-v1.13.0/docs/history/hatch.md
2024-10-14 08:42:20 +02: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
Gaetan Lepage
4c5d04c5f9 hatch: skip failing test 2024-08-30 08:05:55 +02:00
Robert Schütz
be709723a5 hatch: use python3Packages
This makes cross compilation work.
2024-08-25 19:04:58 -07:00
Robert Schütz
d4cebe782c hatch: hardcode uv executable path 2024-08-25 19:04:54 -07:00
Gaetan Lepage
cb0b348289 hatch: clean, format and fix build 2024-08-18 23:32:17 +02:00
Jonas Heinrich
a7d7ec7113 hatch: 1.9.7 -> 1.12.0 2024-06-24 12:18:25 +02:00
Jonas Heinrich
05cbc6d235 hatch: 1.9.0 -> 1.9.7 2024-05-02 10:13:22 +02:00