aboutsummaryrefslogtreecommitdiff
path: root/pkgs/top-level/unix-tools.nix
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2018-05-31 12:33:36 -0400
committerMatthew Bauer <mjbauer95@gmail.com>2018-05-31 12:36:45 -0400
commite99322507e4535c64c0aab9a5a6b15ae3ffaf761 (patch)
treed6d2dde29b2c1afe7293e811a140663acae84b4a /pkgs/top-level/unix-tools.nix
parent480434f7eeefed7026dbbd11a4a0b1e4bfc1f137 (diff)
treewide: get rid of musl stuff
Diffstat (limited to 'pkgs/top-level/unix-tools.nix')
-rw-r--r--pkgs/top-level/unix-tools.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/top-level/unix-tools.nix b/pkgs/top-level/unix-tools.nix
index c057aa45be6f..f8e269168a13 100644
--- a/pkgs/top-level/unix-tools.nix
+++ b/pkgs/top-level/unix-tools.nix
@@ -50,14 +50,14 @@ let
linux = pkgs.utillinux;
};
getconf = {
- linux = if hostPlatform.isMusl then pkgs.musl-getconf
- else lib.getBin stdenv.cc.libc;
+ linux = if hostPlatform.isGNU then lib.getBin pkgs.glibc
+ else pkgs.netbsd.getconf;
darwin = pkgs.darwin.system_cmds;
};
getent = {
- linux = if hostPlatform.isMusl then pkgs.musl-getent
- # This may not be right on other platforms, but preserves existing behavior
- else /* if hostPlatform.libc == "glibc" then */ pkgs.glibc.bin;
+ linux = if hostPlatform.isGNU then lib.getBin pkgs.glibc
+ else pkgs.netbsd.getent;
+ darwin = pkgs.netbsd.getent;
};
getopt = {
linux = pkgs.utillinux;