diff --git a/pkgs/os-specific/linux/hotplug/default.nix b/pkgs/os-specific/linux/hotplug/default.nix index f3b4533a6f8..af8baacdfc2 100644 --- a/pkgs/os-specific/linux/hotplug/default.nix +++ b/pkgs/os-specific/linux/hotplug/default.nix @@ -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]; } diff --git a/pkgs/os-specific/linux/hotplug/hotplug-install.patch b/pkgs/os-specific/linux/hotplug/hotplug-install.patch new file mode 100644 index 00000000000..c77d38328a2 --- /dev/null +++ b/pkgs/os-specific/linux/hotplug/hotplug-install.patch @@ -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}