mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 12:59:04 +02:00
we don't have /usr/bin/install on NixOS, so remove this path
svn path=/nixpkgs/trunk/; revision=4489
This commit is contained in:
parent
483562f267
commit
55068cef8a
|
@ -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];
|
||||
}
|
||||
|
|
12
pkgs/os-specific/linux/hotplug/hotplug-install.patch
Normal file
12
pkgs/os-specific/linux/hotplug/hotplug-install.patch
Normal 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}
|
Loading…
Reference in a new issue