cargo-generate: fix darwin build

fixes #186766
This commit is contained in:
Marek Fajkus 2022-08-24 22:18:40 +02:00
parent 5a97ede7d4
commit 4e7b43dd39
No known key found for this signature in database
GPG key ID: 95585219BA6FE2CC

View file

@ -28,7 +28,7 @@ rustPlatform.buildRustPackage rec {
# - favorites_default_to_git_if_not_defined: requires network access to github.com
# - should_canonicalize: the test assumes that it will be called from the /Users/<project_dir>/ folder on darwin variant.
checkFlags = [ "--skip favorites::favorites_default_to_git_if_not_defined" ]
++ lib.optionals stdenv.isDarwin [ "--skip git::should_canonicalize" ];
++ lib.optionals stdenv.isDarwin [ "--skip git::utils::should_canonicalize" ];
meta = with lib; {
description = "cargo, make me a project";