mirror of
https://github.com/nix-community/nixos-vscode-server.git
synced 2026-08-24 10:14:01 -05:00
fixup
This commit is contained in:
@@ -57,11 +57,8 @@ in writeShellScript "auto-fix-vscode-server.sh" ''
|
||||
ln -sfT ${nodejsWrapped}/bin/node "$bin_dir/node"
|
||||
while read -rd ''' bin; do
|
||||
interp=$(patchelf --print-interpreter "$bin" 2>/dev/null) && [[ $interp != "$node_rpath" ]] || continue
|
||||
patchelf \
|
||||
--set-interpreter "$node_interp" \
|
||||
--set-rpath "$node_rpath" \
|
||||
--shrink-rpath \
|
||||
"$bin"
|
||||
patchelf --set-interpreter "$node_interp" --set-rpath "$node_rpath" "$bin"
|
||||
patchelf --shrink-rpath "$bin"
|
||||
done < <(find "$bin_dir" -type f -perm -100 -printf '%p\0')
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user