we don't have /usr/bin/install on NixOS, so remove this path

svn path=/nixpkgs/trunk/; revision=4489
This commit is contained in:
Armijn Hemel 2006-01-04 23:08:50 +00:00
parent 483562f267
commit 55068cef8a
2 changed files with 13 additions and 1 deletions

View File

@ -6,5 +6,5 @@ stdenv.mkDerivation {
url = http://surfnet.dl.sourceforge.net/sourceforge/linux-hotplug/hotplug-2004_03_29.tar.gz;
md5 = "167bd479a1ca30243c51ca088e0942b3";
};
patches = [./hotplug-install-path.patch];
patches = [./hotplug-install-path.patch ./hotplug-install.patch];
}

View File

@ -0,0 +1,12 @@
diff -ruN hotplug-2004_03_29/Makefile hotplug-2004_03_29.new/Makefile
--- hotplug-2004_03_29/Makefile 2003-06-28 02:13:10.000000000 +0200
+++ hotplug-2004_03_29.new/Makefile 2006-01-04 23:48:15.000000000 +0100
@@ -12,7 +12,7 @@
mandir = ${prefix}/usr/share/man
srcdir = .
-INSTALL = /usr/bin/install -c
+INSTALL = install -c
INSTALL_PROGRAM = ${INSTALL}
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_SCRIPT = ${INSTALL_PROGRAM}