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
|
, rustPlatform
|
||||||
}:
|
}:
|
||||||
|
|
||||||
callPackage ./generic.nix {
|
python3.pkgs.callPackage ./generic.nix {
|
||||||
buildAndTestSubdir = "examples/word-count";
|
buildAndTestSubdir = "examples/word-count";
|
||||||
|
|
||||||
nativeBuildInputs = with rustPlatform; [
|
nativeBuildInputs = with rustPlatform; [
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
{ lib
|
{ lib
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, python3Packages
|
, python
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
|
|
||||||
, nativeBuildInputs
|
, nativeBuildInputs
|
||||||
|
@ -13,7 +13,7 @@
|
||||||
, preConfigure ? ""
|
, preConfigure ? ""
|
||||||
}:
|
}:
|
||||||
|
|
||||||
python3Packages.buildPythonPackage rec {
|
python.pkgs.buildPythonPackage rec {
|
||||||
pname = "word-count";
|
pname = "word-count";
|
||||||
version = "0.13.2";
|
version = "0.13.2";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue