mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 23:20:55 +00:00
python3Packages.setuptools-rust: do no mix Python versions in tests
The passthru test used python3Packages, mixing different Python version when testing on a Python version different that the python3 alias.
This commit is contained in:
parent
313177129b
commit
cf66c08b84
|
@ -1,8 +1,8 @@
|
|||
{ callPackage
|
||||
{ python3
|
||||
, rustPlatform
|
||||
}:
|
||||
|
||||
callPackage ./generic.nix {
|
||||
python3.pkgs.callPackage ./generic.nix {
|
||||
buildAndTestSubdir = "examples/word-count";
|
||||
|
||||
nativeBuildInputs = with rustPlatform; [
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, python3Packages
|
||||
, python
|
||||
, rustPlatform
|
||||
|
||||
, nativeBuildInputs
|
||||
|
@ -13,7 +13,7 @@
|
|||
, preConfigure ? ""
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonPackage rec {
|
||||
python.pkgs.buildPythonPackage rec {
|
||||
pname = "word-count";
|
||||
version = "0.13.2";
|
||||
|
||||
|
|
Loading…
Reference in a new issue