ppp: fix evaluation error on Darwin

This commit is contained in:
Thomas Tuegel 2016-03-11 09:12:39 -06:00
parent 9e5b2d5e3d
commit 1fae9a36aa

View File

@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
[ ( substituteAll { [ ( substituteAll {
src = ./nix-purity.patch; src = ./nix-purity.patch;
inherit libpcap; inherit libpcap;
glibc = stdenv.cc.libc.dev; glibc = stdenv.cc.libc.dev or stdenv.cc.libc;
}) })
# Without nonpriv.patch, pppd --version doesn't work when not run as # Without nonpriv.patch, pppd --version doesn't work when not run as
# root. # root.