tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
shadow: fix attempt to access 'stdenv.glibc'
Will Dietz
8 years ago
d9b8f173
e93dc20e
+1
-1
1 changed file
expand all
collapse all
unified
split
pkgs
os-specific
linux
shadow
default.nix
+1
-1
pkgs/os-specific/linux/shadow/default.nix
···
9
glibc =
10
if hostPlatform != buildPlatform
11
then glibcCross
12
-
else assert stdenv ? glibc; stdenv.glibc;
13
14
dots_in_usernames = fetchpatch {
15
url = http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-apps/shadow/files/shadow-4.1.3-dots-in-usernames.patch;
···
9
glibc =
10
if hostPlatform != buildPlatform
11
then glibcCross
12
+
else assert hostPlatform.libc == "glibc"; stdenv.cc.libc;
13
14
dots_in_usernames = fetchpatch {
15
url = http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-apps/shadow/files/shadow-4.1.3-dots-in-usernames.patch;