Merge pull request #143568 from jshcmpbll/jc/azure-fucntions-bin-cleanup

This commit is contained in:
Sandro 2021-11-22 16:43:21 +01:00 committed by GitHub
commit 263ef4cc41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,7 +54,7 @@ stdenv.mkDerivation rec {
installPhase = ''
mkdir -p $out/bin
cp -prd * $out/bin
cp -prd *.dll *.so gozip func $out/bin
patchelf \
--set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
--set-rpath "${libPath}" "$out/bin/func"