forked from mirrors/nixpkgs
cf66c08b84
The passthru test used python3Packages, mixing different Python version when testing on a Python version different that the python3 alias.
13 lines
207 B
Nix
13 lines
207 B
Nix
{ python3
|
|
, rustPlatform
|
|
}:
|
|
|
|
python3.pkgs.callPackage ./generic.nix {
|
|
buildAndTestSubdir = "examples/word-count";
|
|
|
|
nativeBuildInputs = with rustPlatform; [
|
|
cargoSetupHook
|
|
maturinBuildHook
|
|
];
|
|
}
|