From 804ae999f56e8e44304cccb0c0d2d128574935e8 Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Tue, 13 Feb 2018 11:53:02 -0600 Subject: [PATCH] getconf: nothing uses glibc.bin for getconf, generalize to cc.libc --- pkgs/top-level/all-packages.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 84fda4d63863..00ea9145b3ea 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 { };