mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 09:04:17 +00:00
1e2071847d
The old stdenv didn't work, and was also impure. The new one works, and is pure. Presently, the bootstrap tools are cross compiled into one small nar and one large tar, which is then unpacked, patched, and split into smaller derivations. Efforts were made to make the boot process as short as possible - there are only two clangs built, and as many packages are propagated between stages as possible while leaving the bootstrap tools out of the final stdenv's closure.
6 lines
154 B
Bash
6 lines
154 B
Bash
fixupOutputHooks+=(_FreeBSDPatchelfShrink)
|
|
|
|
_FreeBSDPatchelfShrink() {
|
|
find $prefix -type f | xargs -n1 patchelf --shrink-rpath &>/dev/null || true
|
|
}
|