nix/fetchcargo: stub a src/main.rs for the -cargo src

This commit is contained in:
Astro 2019-05-09 21:20:13 +02:00
parent ddebb88c70
commit 8ab5a8dafc
1 changed files with 2 additions and 0 deletions

View File

@ -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