nix/fetchcargo: stub a src/main.rs for the -cargo src
This commit is contained in:
parent
ddebb88c70
commit
8ab5a8dafc
@ -9,6 +9,8 @@ let
|
|||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir $out
|
mkdir $out
|
||||||
cp ${src}/Cargo.{toml,lock} $out/
|
cp ${src}/Cargo.{toml,lock} $out/
|
||||||
|
mkdir $out/src
|
||||||
|
touch src/main.rs
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
Loading…
Reference in New Issue
Block a user