add a wrapper for dhclient

svn path=/nixpkgs/trunk/; revision=3655
This commit is contained in:
Armijn Hemel 2005-08-21 19:46:16 +00:00
parent 4b640be166
commit 77c089a857
3 changed files with 20 additions and 0 deletions

View File

@ -168,6 +168,11 @@ rec {
inherit fetchurl stdenv groff;
};
dhcpWrapper = (import ../tools/networking/dhcp-wrapper) {
inherit stdenv dhcp;
};
graphviz = (import ../tools/graphics/graphviz) {
inherit fetchurl stdenv libpng libjpeg expat x11 yacc libtool;
inherit (xlibs) libXaw;

View File

@ -0,0 +1,5 @@
. $stdenv/setup
. $makeWrapper
makeWrapper "$dhcp/sbin/dhclient" "$out/sbin/dhclient" \
--set PATH_DHCLIENT_SCRIPT "$dhcp/sbin/dhclient-script"

View File

@ -0,0 +1,10 @@
{stdenv, dhcp}:
stdenv.mkDerivation {
name = dhcp.name;
builder = ./builder.sh;
makeWrapper = ../../../build-support/make-wrapper/make-wrapper.sh;
inherit dhcp;
}