Commit 15d17270 authored by Stanisław Pitucha's avatar Stanisław Pitucha
Browse files

fac-build: fix tests calling out to git

parent 92a9b81a
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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; {