Merge pull request #188218 from turboMaCk/cargo-generate-fix

cargo-generate: fix darwin build
This commit is contained in:
Artturi 2022-08-25 08:13:39 +03:00 committed by GitHub
commit 3bbe5c61d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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";