diff --git a/pkgs/tools/misc/tailspin/default.nix b/pkgs/tools/misc/tailspin/default.nix index 51e0c19590c8..bb4c046462b0 100644 --- a/pkgs/tools/misc/tailspin/default.nix +++ b/pkgs/tools/misc/tailspin/default.nix @@ -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";