Commit e71a6e47 authored by Jonathan Davies's avatar Jonathan Davies Committed by Matthieu Coudron
Browse files

tailspin: Patch the test binary path for the integration tests.

parent 88f08426
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -16,6 +16,11 @@ rustPlatform.buildRustPackage rec {

  cargoHash = "sha256-ohfza2ti7Ar/9TV/WoTL5g6CPaONrxtr7nW0qmLdB/8=";

  postPatch = ''
    substituteInPlace tests/utils.rs --replace-fail \
      'target/debug' "target/$(rustc -vV | sed -n 's|host: ||p')/debug"
  '';

  meta = with lib; {
    description = "Log file highlighter";
    homepage = "https://github.com/bensadeh/tailspin";