From 8ab5a8dafcc64059ca3b8dc0cb6087f4389d2e94 Mon Sep 17 00:00:00 2001 From: Astro Date: Thu, 9 May 2019 21:20:13 +0200 Subject: [PATCH] nix/fetchcargo: stub a src/main.rs for the -cargo src --- nix/fetchcargo.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nix/fetchcargo.nix b/nix/fetchcargo.nix index 1e37b79..b55339a 100644 --- a/nix/fetchcargo.nix +++ b/nix/fetchcargo.nix @@ -9,6 +9,8 @@ let installPhase = '' mkdir $out cp ${src}/Cargo.{toml,lock} $out/ + mkdir $out/src + touch src/main.rs ''; }; in