From fc2fe2d4f0c4778b8934a9762b6141e15bef0e48 Mon Sep 17 00:00:00 2001 From: yuuko Date: Tue, 2 Sep 2025 15:12:20 -0700 Subject: vtf-thumbnailer: add provision for alternate vtf mime name --- srcds-pkgs/vtf-thumbnailer/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'srcds-pkgs/vtf-thumbnailer/default.nix') diff --git a/srcds-pkgs/vtf-thumbnailer/default.nix b/srcds-pkgs/vtf-thumbnailer/default.nix index 0c56c42..2699992 100644 --- a/srcds-pkgs/vtf-thumbnailer/default.nix +++ b/srcds-pkgs/vtf-thumbnailer/default.nix @@ -82,7 +82,8 @@ stdenv.mkDerivation (self: { postFixup = '' substituteInPlace $out/share/thumbnailers/vtf-thumbnailer.thumbnailer \ - --replace "/opt/vtf-thumbnailer" "$out/bin" + --replace "/opt/vtf-thumbnailer" "$out/bin" \ + --replace "image/x-vtf;" "image/x-vtf;image/vnd.valve.source.texture;" ''; LANG = "C.UTF-8"; -- cgit v1.2.3