Loading
avdump3: fix runtime on .NET 8 (was broken on EOL .NET 6)
The app targets net6.0, but dotnet-runtime in nixpkgs points to .NET 8. This made the package fail at runtime unless the user also set NIXPKGS_ALLOW_INSECURE=1 to pull in the EOL dotnet-runtime_6. Patch the runtimeconfig.json to set rollForward=major so the app runs on whatever dotnet-runtime version nixpkgs provides. Other fixes while here: - Use autoPatchelfHook instead of LD_LIBRARY_PATH + dontPatchELF - Add libzen (needed by the bundled MediaInfo .so) - Add symlinks for native libs so DllImport resolves them - Use makeBinaryWrapper instead of a hand-written shell wrapper