summary refs log tree commit diff
diff options
context:
space:
mode:
authorHerman Fries <baracoder@googlemail.com>2020-01-16 12:55:52 +0100
committerJon <jonringer@users.noreply.github.com>2020-01-17 11:42:11 -0800
commit6bc3acd3b9088cd58761da9b1703b17901cca9b9 (patch)
tree120d2f3db0f6162ceafcd539bc7cb1e28956b4a5
parentb708e36ecbf40c0a2d485a2ef6c50b35e72fea22 (diff)
downloadnixpkgs-6bc3acd3b9088cd58761da9b1703b17901cca9b9.tar
nixpkgs-6bc3acd3b9088cd58761da9b1703b17901cca9b9.tar.gz
nixpkgs-6bc3acd3b9088cd58761da9b1703b17901cca9b9.tar.bz2
nixpkgs-6bc3acd3b9088cd58761da9b1703b17901cca9b9.tar.lz
nixpkgs-6bc3acd3b9088cd58761da9b1703b17901cca9b9.tar.xz
nixpkgs-6bc3acd3b9088cd58761da9b1703b17901cca9b9.tar.zst
nixpkgs-6bc3acd3b9088cd58761da9b1703b17901cca9b9.zip
dotnetPackages: Fix apphost binary
-rw-r--r--pkgs/development/compilers/dotnet/buildDotnet.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/compilers/dotnet/buildDotnet.nix b/pkgs/development/compilers/dotnet/buildDotnet.nix
index 0c2222c4c83..58e67ff008a 100644
--- a/pkgs/development/compilers/dotnet/buildDotnet.nix
+++ b/pkgs/development/compilers/dotnet/buildDotnet.nix
@@ -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;