shadow: fix attempt to access 'stdenv.glibc'

+1 -1
+1 -1
pkgs/os-specific/linux/shadow/default.nix
··· 9 9 glibc = 10 10 if hostPlatform != buildPlatform 11 11 then glibcCross 12 - else assert stdenv ? glibc; stdenv.glibc; 12 + else assert hostPlatform.libc == "glibc"; stdenv.cc.libc; 13 13 14 14 dots_in_usernames = fetchpatch { 15 15 url = http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-apps/shadow/files/shadow-4.1.3-dots-in-usernames.patch;