diff options
| author | yuuko <yuuko@partyvan.io> | 2026-10-25 02:58:59 -0700 |
|---|---|---|
| committer | yuuko <yuuko@partyvan.io> | 2026-10-25 02:58:59 -0700 |
| commit | 37305febb67c6f381b38a971156483e277435541 (patch) | |
| tree | eb0128239d6d6bdf9d68e8de27052c8aa64dc7d3 /srcds-pkgs/maretf/default.nix | |
| parent | ca2b11c4372b77d9509b0a625df87cddbd3c50fa (diff) | |
maretf: fixup thumbnailer mime
Diffstat (limited to 'srcds-pkgs/maretf/default.nix')
| -rw-r--r-- | srcds-pkgs/maretf/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/srcds-pkgs/maretf/default.nix b/srcds-pkgs/maretf/default.nix index 10c00fd..fad5447 100644 --- a/srcds-pkgs/maretf/default.nix +++ b/srcds-pkgs/maretf/default.nix @@ -203,6 +203,12 @@ stdenv.mkDerivation (self: { chmod -R +w /build/minizip-ngtmp ''; + postFixup = '' + substituteInPlace $out/share/thumbnailers/maretf.thumbnailer \ + --replace "maretf_thumbnailer" "$out/bin/maretf_thumbnailer" \ + --replace "image/x-vtf;" "image/x-vtf;image/vnd.valve.source.texture;" + ''; + LANG = "C.UTF-8"; meta = { |
