add a wrapper for dhclient
svn path=/nixpkgs/trunk/; revision=3655
This commit is contained in:
5
pkgs/tools/networking/dhcp-wrapper/builder.sh
Normal file
5
pkgs/tools/networking/dhcp-wrapper/builder.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
. $stdenv/setup
|
||||
. $makeWrapper
|
||||
|
||||
makeWrapper "$dhcp/sbin/dhclient" "$out/sbin/dhclient" \
|
||||
--set PATH_DHCLIENT_SCRIPT "$dhcp/sbin/dhclient-script"
|
||||
10
pkgs/tools/networking/dhcp-wrapper/default.nix
Normal file
10
pkgs/tools/networking/dhcp-wrapper/default.nix
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user