maturinBuildHook: add rustc to deps
maturin 0.10.5 uses rustc -vV to find the host:
e886c85f5a
We now need to make rustc visible to the hook for maturin to work
properly.
This commit is contained in:
parent
aef81404bc
commit
11307c1d47
@ -6,6 +6,7 @@
|
||||
, makeSetupHook
|
||||
, maturin
|
||||
, rust
|
||||
, rustc
|
||||
, stdenv
|
||||
, target ? rust.toRustTargetSpec stdenv.hostPlatform
|
||||
}:
|
||||
@ -85,7 +86,7 @@ in {
|
||||
maturinBuildHook = callPackage ({ }:
|
||||
makeSetupHook {
|
||||
name = "maturin-build-hook.sh";
|
||||
deps = [ cargo maturin ];
|
||||
deps = [ cargo maturin rustc ];
|
||||
substitutions = {
|
||||
inherit ccForBuild ccForHost cxxForBuild cxxForHost
|
||||
rustBuildPlatform rustTargetPlatform rustTargetPlatformSpec;
|
||||
|
@ -26,6 +26,6 @@ rec {
|
||||
|
||||
# Hooks
|
||||
inherit (callPackage ../../../build-support/rust/hooks {
|
||||
inherit cargo;
|
||||
inherit cargo rustc;
|
||||
}) cargoBuildHook cargoCheckHook cargoInstallHook cargoSetupHook maturinBuildHook;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user