···50 linux = pkgs.utillinux;
51 };
52 getconf = {
53- linux = if hostPlatform.isMusl then pkgs.musl-getconf
54- else lib.getBin stdenv.cc.libc;
55 darwin = pkgs.darwin.system_cmds;
56 };
57 getent = {
58- linux = if hostPlatform.isMusl then pkgs.musl-getent
59- # This may not be right on other platforms, but preserves existing behavior
60- else /* if hostPlatform.libc == "glibc" then */ pkgs.glibc.bin;
61 };
62 getopt = {
63 linux = pkgs.utillinux;
···50 linux = pkgs.utillinux;
51 };
52 getconf = {
53+ linux = if hostPlatform.libc == "glibc" then lib.getBin pkgs.glibc
54+ else pkgs.netbsd.getconf;
55 darwin = pkgs.darwin.system_cmds;
56 };
57 getent = {
58+ linux = if hostPlatform.libc == "glibc" then lib.getBin pkgs.glibc
59+ else pkgs.netbsd.getent;
60+ darwin = pkgs.netbsd.getent;
61 };
62 getopt = {
63 linux = pkgs.utillinux;