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

This commit is contained in:
Jonathan Davies
2024-11-06 02:09:39 +01:00
committed by Matthieu Coudron
parent 88f08426e2
commit e71a6e4778
+5
View File
@@ -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";