9 nameVersion = builtins.parseDrvName glibc.name;
12 runCommand "${nameVersion.name}-multi-${nameVersion.version}"
13 # out as the first output is an exception exclusive to glibc
19 ]; # TODO: no static version here (yet)
21 libgcc = lib.lists.filter (x: x != null) [
22 (glibc64.libgcc or null)
23 (glibc32.libgcc or null)
29 ln -s '${glibc64.out}'/lib/* "$out/lib"
30 ln -s '${glibc32.out}/lib' "$out/lib/32"
31 ln -s lib "$out/lib64"
35 cp -s '${glibc64.bin}'/bin/* "$bin/bin/"
37 sed -e "s|^RTLDLIST=.*$|RTLDLIST=\"$out/lib/ld-linux-x86-64.so.2 $out/lib/32/ld-linux.so.2\"|g" \
38 '${glibc64.bin}/bin/ldd' > "$bin/bin/ldd"
39 chmod +x "$bin/bin/ldd"
42 cp -rs '${glibc32.dev}'/include "$dev/"
44 cp -rsf '${glibc64.dev}'/include "$dev/"