cargo-generate: enable tests
This commit is contained in:
parent
51eb8d76f3
commit
37e7ad7251
1 changed files with 5 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue