The following [snippet](https://github.com/NixOS/nix-pills/blob/master/pills/09-automatic-runtime-dependencies.md?plain=1#L100) execute patchelf --shrink-path before strip. ```console find $out -type f -exec patchelf --shrink-rpath '{}' \; -exec strip '{}' \; 2>/dev/null ``` Shouldn't strip be executed before shrink-rpath, so debug information is removed by strip, and then shrink-rpath can remove gcc as a dependency?