Merge pull request #220436 from viraptor/fac-build-fix

fac-build: fix tests calling out to git
This commit is contained in:
Stanisław Pitucha 2023-03-10 22:50:12 +11:00 committed by GitHub
commit b9c00c1d41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,6 +25,9 @@ rustPlatform.buildRustPackage rec {
substituteInPlace src/git.rs \
--replace 'std::process::Command::new("git")' \
'std::process::Command::new("${git}/bin/git")'
substituteInPlace tests/lib.rs \
--replace 'std::process::Command::new("git")' \
'std::process::Command::new("${git}/bin/git")'
'';
meta = with lib; {