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