rust: fix evaluation
This commit is contained in:
parent
113b04ae28
commit
2a2c8eab26
@ -1,8 +1,8 @@
|
|||||||
{ stdenv, cacert, git, rust, cargoVendor }:
|
{ stdenv, cacert, git, rust, cargo-vendor }:
|
||||||
{ name ? "cargo-deps", src, srcs, sourceRoot, sha256, cargoUpdateHook ? "" }:
|
{ name ? "cargo-deps", src, srcs, sourceRoot, sha256, cargoUpdateHook ? "" }:
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "${name}-vendor";
|
name = "${name}-vendor";
|
||||||
nativeBuildInputs = [ cacert cargoVendor git rust.cargo ];
|
nativeBuildInputs = [ cacert cargo-vendor git rust.cargo ];
|
||||||
inherit src srcs sourceRoot;
|
inherit src srcs sourceRoot;
|
||||||
|
|
||||||
phases = "unpackPhase installPhase";
|
phases = "unpackPhase installPhase";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user