This looks wrong to me. /nix-support must be at top-level (i.e. in $out), while $prefix could in theory point somewhere else.