Commit Graph

11 Commits

Author SHA1 Message Date
Sergei Trofimovich
b0976a6035 maturin: 1.7.1 -> 1.7.4
Changes:
- https://github.com/PyO3/maturin/releases/tag/v1.7.2
- https://github.com/PyO3/maturin/releases/tag/v1.7.3
- https://github.com/PyO3/maturin/releases/tag/v1.7.4

Co-authored-by: seth <getchoo@tuta.io>
2024-09-26 06:28:20 +01: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
Sergei Trofimovich
19770f0097 maturin: 1.7.0 -> 1.7.1
Changes: https://github.com/PyO3/maturin/releases/tag/v1.7.1
2024-08-23 21:41:56 +01:00
Philip Taron
06d2eb33e3
python3Packages.setuptools-rust.tests: fix eval 2024-08-07 08:02:23 -07:00
seth
5e4e8abae2
maturin: 1.6.0 -> 1.7.0
Changelog: https://github.com/PyO3/maturin/releases/tag/v1.7.0
Diff: https://github.com/PyO3/maturin/compare/v1.6.0...v1.7.0
2024-07-15 13:27:11 -04:00
seth
c64a719620
maturin: add updateScript 2024-07-11 23:57:15 -04:00
seth
5bf72c97bc
maturin: add version test 2024-07-11 23:57:14 -04:00
seth
10516a7c63
maturin: don't overuse with lib
https://github.com/NixOS/nixpkgs/issues/208242
2024-07-11 23:57:14 -04:00
seth
4cb00793c7
maturin: adopt 2024-07-11 23:57:14 -04:00
seth
929a0f4bd1
maturin: format with nixfmt 2024-07-11 23:57:14 -04:00
seth
7dd53c5e66
maturin: migrate to by-name 2024-07-11 23:57:13 -04:00