summary refs log tree commit diff
path: root/pkgs/top-level/unix-tools.nix
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2018-05-31 12:44:17 -0400
committerMatthew Bauer <mjbauer95@gmail.com>2018-05-31 13:17:07 -0400
commitae6a4a913cfa6f51c9c4bfd30c401dba88b81e2d (patch)
tree4ecdebc0270a264325ae27d4d6beb44b0304750c /pkgs/top-level/unix-tools.nix
parente99322507e4535c64c0aab9a5a6b15ae3ffaf761 (diff)
downloadnixlib-ae6a4a913cfa6f51c9c4bfd30c401dba88b81e2d.tar
nixlib-ae6a4a913cfa6f51c9c4bfd30c401dba88b81e2d.tar.gz
nixlib-ae6a4a913cfa6f51c9c4bfd30c401dba88b81e2d.tar.bz2
nixlib-ae6a4a913cfa6f51c9c4bfd30c401dba88b81e2d.tar.lz
nixlib-ae6a4a913cfa6f51c9c4bfd30c401dba88b81e2d.tar.xz
nixlib-ae6a4a913cfa6f51c9c4bfd30c401dba88b81e2d.tar.zst
nixlib-ae6a4a913cfa6f51c9c4bfd30c401dba88b81e2d.zip
fix eval
Diffstat (limited to 'pkgs/top-level/unix-tools.nix')
-rw-r--r--pkgs/top-level/unix-tools.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/top-level/unix-tools.nix b/pkgs/top-level/unix-tools.nix
index f8e269168a13..64979ba3234d 100644
--- a/pkgs/top-level/unix-tools.nix
+++ b/pkgs/top-level/unix-tools.nix
@@ -50,12 +50,12 @@ let
       linux = pkgs.utillinux;
     };
     getconf = {
-      linux = if hostPlatform.isGNU then lib.getBin pkgs.glibc
+      linux = if hostPlatform.libc == "glibc" then lib.getBin pkgs.glibc
               else pkgs.netbsd.getconf;
       darwin = pkgs.darwin.system_cmds;
     };
     getent = {
-      linux = if hostPlatform.isGNU then lib.getBin pkgs.glibc
+      linux = if hostPlatform.libc == "glibc" then lib.getBin pkgs.glibc
               else pkgs.netbsd.getent;
       darwin = pkgs.netbsd.getent;
     };