fix srctvplus

This commit is contained in:
Robin Appelman 2026-11-26 14:21:15 +01:00
commit 646c490ca7

View file

@ -3,6 +3,7 @@
stdenv,
nix-update-script,
prelink,
fetchpatch2,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "srctvplus";
@ -19,6 +20,13 @@ stdenv.mkDerivation (finalAttrs: {
prelink
];
patches = [
(fetchpatch2 {
url = "https://github.com/dalegaard/srctvplus/commit/5d8474aa8e78443e784fb4a1f10848b37bfefefe.patch";
sha256 = "sha256-aEukl51fx0GwT3sGYfkZFjsjhKI8YWH7GO9DX83yB00=";
})
];
NIX_CFLAGS_COMPILE = "-ftrampoline-impl=heap";
buildPhase = ''