cargo-generate: enable tests

This commit is contained in:
Fabian Möller 2019-11-18 20:53:47 +01:00
parent 51eb8d76f3
commit 37e7ad7251
No known key found for this signature in database
GPG Key ID: 70B29D65DD8A7E31

View File

@ -18,7 +18,11 @@ rustPlatform.buildRustPackage rec {
buildInputs = [ openssl ]
++ stdenv.lib.optionals stdenv.isDarwin [ Security libiconv curl ];
doCheck = false;
preCheck = ''
export HOME=$(mktemp -d) USER=nixbld
git config --global user.name Nixbld
git config --global user.email nixbld@localhost.localnet
'';
meta = with stdenv.lib; {
description = "cargo, make me a project";