3
0
Fork 0
forked from mirrors/nixpkgs

getconf: nothing uses glibc.bin for getconf, generalize to cc.libc

This commit is contained in:
Will Dietz 2018-02-13 11:53:02 -06:00
parent d3b59f864a
commit 804ae999f5

View file

@ -13365,10 +13365,10 @@ with pkgs;
if hostPlatform.isMusl then musl-getent
# This may not be right on other platforms, but preserves existing behavior
else /* if hostPlatform.libc == "glibc" then */ glibc.bin;
getconf =
if hostPlatform.isMusl then musl-getconf
# This may not be right on other platforms, but preserves existing behavior
else /* if hostPlatform.libc == "glibc" then */ glibc.bin;
else lib.getBin stdenv.cc.libc;
nettools = callPackage ../os-specific/linux/net-tools { };