Loading
python3.pkgs.setuptools-rust: adjust setupHook inclusion condition
Commit e6563038 (PR #467817) made `setuptools-rust` work automatically in cross compilation scenarios by replacing `setuptoolsRustBuildHook` with `setuptools-rust.setupHook`. However it broke builds such as: ```sh nix build -Lf. pkgsCross.armv7l-hf-multiplatform.buildPackages.python3.pkgs.cryptography ``` As reported here: https://github.com/NixOS/nixpkgs/pull/467817#issuecomment-3731773060 This adjustment fixes the above build, while also maintaining the following working: ```sh nix build -Lf. pkgsCross.armv7l-hf-multiplatform.python3.pkgs.libcst ```