about summary refs log tree commit diff
path: root/pkgs/development/cuda-modules/setup-hooks/auto-add-driver-runpath-hook.sh
blob: ecff2a032d64f4eb523eda47348272a3a3d4e518 (plain) (blame)
1
2
3
4
5
6
7
8
# shellcheck shell=bash
# Run addDriverRunpath on all dynamically linked ELF files
echo "Sourcing auto-add-driver-runpath-hook"

if [ -z "${dontUseAutoAddDriverRunpath-}" ]; then
  echo "Using autoAddDriverRunpath"
  postFixupHooks+=("autoFixElfFiles addDriverRunpath")
fi