patch hotplug so we won't need /bin/bash. I'm not sure how free of bashisms

these scripts are, so using /bin/sh instead is no option...

svn path=/nixpkgs/trunk/; revision=4492
This commit is contained in:
Armijn Hemel
2006-01-05 16:31:29 +00:00
parent 050fd281cd
commit d36b6a1898
3 changed files with 75 additions and 2 deletions

View File

@@ -1,10 +1,12 @@
{stdenv, fetchurl}:
{stdenv, fetchurl, bash}:
stdenv.mkDerivation {
name = "hotplug-2004_03_29";
builder = ./builder.sh;
src = fetchurl {
url = http://surfnet.dl.sourceforge.net/sourceforge/linux-hotplug/hotplug-2004_03_29.tar.gz;
md5 = "167bd479a1ca30243c51ca088e0942b3";
};
patches = [./hotplug-install-path.patch ./hotplug-install.patch];
patches = [./hotplug-install-path.patch ./hotplug-install.patch ./hotplug-2004_03_29-bash.patch];
inherit bash;
}