I wonder if NIX_DONT_SET_RPATH should be set in a hook that properly does role mangling.
NIX_DONT_SET_RPATH