* dhcpcd: get the entry/exit hooks from /etc.

svn path=/nixpkgs/trunk/; revision=32429
This commit is contained in:
Eelco Dolstra 2012-02-20 15:12:34 +00:00
parent 9c33ae3f2b
commit fd41f11208

View file

@ -8,11 +8,13 @@ stdenv.mkDerivation rec {
sha256 = "1zhpm89s6bk29lx7hq5f6fqm7i6dq2wq9vv5m25rv5wv6747v0m6";
};
configureFlags = "--sysconfdir=/etc";
makeFlags = "PREFIX=\${out}";
# Hack to make installation succeed. dhcpcd will still use /var/db
# at runtime.
installFlags = "DBDIR=\${TMPDIR}/db";
installFlags = "DBDIR=\${TMPDIR}/db SYSCONFDIR=$(out)/etc";
meta = {
description = "A client for the Dynamic Host Configuration Protocol (DHCP)";