hatch: fix build on darwin

Failing since e4b6440d7c, previously
succeeding at 00769b0532.

Possibly related to dependency versions:

```
$ nix-diff /nix/store/74dgxcwrwq83xrnk6fa76l293na95qz3-hatch-1.14.0.drv /nix/store/v659sh5rj1aqsl17nhqbmfsffw2f4rdv-hatch-1.14.0.drv
- /nix/store/74dgxcwrwq83xrnk6fa76l293na95qz3-hatch-1.14.0.drv:{out}
+ /nix/store/v659sh5rj1aqsl17nhqbmfsffw2f4rdv-hatch-1.14.0.drv:{out}
• The builders do not match
    - /nix/store/iv1k5wr7hbxm51qmdn6l2inq7rd2vfhk-bash-5.2p37/bin/bash
    + /nix/store/x7m765hh1m4yikg9spw18lxldddvdnd0-bash-5.2p37/bin/bash
• The set of input derivation names do not match:
    - cargo-1.83.0
    - git-2.47.1
    - python3.12-binary-1.0.0
    - python3.12-httpx-0.27.2
    - python3.12-keyring-25.4.1
    - python3.12-setuptools-75.3.0
    - python3.12-virtualenv-20.26.6
    + cargo-1.84.0
    + git-2.47.2
    + python3.12-binary-1.0.1
    + python3.12-httpx-0.28.1
    + python3.12-keyring-25.6.0
    + python3.12-setuptools-75.8.0
    + python3.12-virtualenv-20.29.1
...
```

See: https://github.com/pypa/hatch/issues/1942
This commit is contained in:
Rebecca Turner
2025-03-21 15:33:43 -07:00
parent 8dbc39f6e0
commit 184fa3e038
+4
View File
@@ -140,6 +140,10 @@ python3Packages.buildPythonApplication rec {
# '...2-macosx_14_0_arm64.whl'
"test_macos_archflags"
"test_macos_max_compat"
# https://github.com/pypa/hatch/issues/1942
"test_features"
"test_sync_dynamic_dependencies"
]
++ lib.optionals stdenv.hostPlatform.isAarch64 [ "test_resolve" ];