fac-build: fix tests calling out to git

This commit is contained in:
Stanisław Pitucha 2023-03-10 15:26:21 +11:00
parent 92a9b81a53
commit 15d1727077

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