diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2018-05-31 12:44:17 -0400 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2018-05-31 13:17:07 -0400 |
commit | ae6a4a913cfa6f51c9c4bfd30c401dba88b81e2d (patch) | |
tree | 4ecdebc0270a264325ae27d4d6beb44b0304750c /pkgs/top-level/unix-tools.nix | |
parent | e99322507e4535c64c0aab9a5a6b15ae3ffaf761 (diff) |
fix eval
Diffstat (limited to 'pkgs/top-level/unix-tools.nix')
-rw-r--r-- | pkgs/top-level/unix-tools.nix | 4 |
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; }; |