dotnetPackages: Fix apphost binary

This commit is contained in:
Herman Fries 2020-01-16 12:55:52 +01:00 committed by Jon
parent b708e36ecb
commit 6bc3acd3b9

View file

@ -49,6 +49,7 @@ in stdenv.mkDerivation rec {
patchelf --set-interpreter "${stdenv.cc.bintools.dynamicLinker}" $out/dotnet
patchelf --set-rpath "${rpath}" $out/dotnet
find $out -type f -name "*.so" -exec patchelf --set-rpath '$ORIGIN:${rpath}' {} \;
find $out -type f -name "apphost" -exec patchelf --set-interpreter "${stdenv.cc.bintools.dynamicLinker}" --set-rpath '$ORIGIN:${rpath}' {} \;
'';
doInstallCheck = true;