buildRustPackage: add missing attr to remove
cargoUpdateHook is used in cargoDeps
This commit is contained in:
parent
cf74f5d089
commit
36ad5b9b96
|
@ -97,7 +97,7 @@ in
|
||||||
# See https://os.phil-opp.com/testing/ for more information.
|
# See https://os.phil-opp.com/testing/ for more information.
|
||||||
assert useSysroot -> !(args.doCheck or true);
|
assert useSysroot -> !(args.doCheck or true);
|
||||||
|
|
||||||
stdenv.mkDerivation ((removeAttrs args [ "depsExtraArgs" "cargoLock" ]) // lib.optionalAttrs useSysroot {
|
stdenv.mkDerivation ((removeAttrs args [ "depsExtraArgs" "cargoUpdateHook" "cargoLock" ]) // lib.optionalAttrs useSysroot {
|
||||||
RUSTFLAGS = "--sysroot ${sysroot} " + (args.RUSTFLAGS or "");
|
RUSTFLAGS = "--sysroot ${sysroot} " + (args.RUSTFLAGS or "");
|
||||||
} // {
|
} // {
|
||||||
inherit buildAndTestSubdir cargoDeps;
|
inherit buildAndTestSubdir cargoDeps;
|
||||||
|
|
Loading…
Reference in a new issue