lol

[squashme] elaborate comment on unpack-bootstrap-files.sh

+2 -1
+2 -1
pkgs/stdenv/freebsd/unpack-bootstrap-files.sh
··· 30 # sanity check 31 $out/bin/true || exit 1 32 33 - # scorched earth 34 for f in $(find $out -type f); do 35 while true; do 36 BADMAN="$(strings $f | grep -o '/nix/store/.*' | grep -v "$out" | head -n1)"
··· 30 # sanity check 31 $out/bin/true || exit 1 32 33 + # meticulously replace every nix store path with the right one 34 + # to work with binaries, make sure the path remains the same length by prefixing pathsep chars 35 for f in $(find $out -type f); do 36 while true; do 37 BADMAN="$(strings $f | grep -o '/nix/store/.*' | grep -v "$out" | head -n1)"