mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-24 20:02:58 +03:00
add udev
svn path=/nixpkgs/trunk/; revision=3636
This commit is contained in:
parent
33110a9dde
commit
97dfe971f7
10
pkgs/os-specific/linux/udev/default.nix
Normal file
10
pkgs/os-specific/linux/udev/default.nix
Normal file
@ -0,0 +1,10 @@
|
||||
{stdenv, fetchurl}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "udev-068";
|
||||
src = fetchurl {
|
||||
url = http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-068.tar.bz2;
|
||||
md5 = "fd9db7375dae81e8aa634414b5ede0d6";
|
||||
};
|
||||
patches = [./udev-installpath.patch];
|
||||
}
|
12
pkgs/os-specific/linux/udev/udev-installpath.patch
Normal file
12
pkgs/os-specific/linux/udev/udev-installpath.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -ruN udev-068/Makefile udev-068.new/Makefile
|
||||
--- udev-068/Makefile 2005-08-18 19:04:49.000000000 +0200
|
||||
+++ udev-068.new/Makefile 2005-08-19 16:09:22.000000000 +0200
|
||||
@@ -55,7 +55,7 @@
|
||||
STARTER = udevstart
|
||||
RELEASE_NAME = $(ROOT)-$(VERSION)
|
||||
LOCAL_CFG_DIR = etc/udev
|
||||
-DESTDIR =
|
||||
+DESTDIR = ${out}
|
||||
KERNEL_DIR = /lib/modules/${shell uname -r}/build
|
||||
|
||||
# override this to make udev look in a different location for it's config files
|
@ -1109,6 +1109,10 @@ rec {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
udev = import ../os-specific/linux/udev {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
### DATA
|
||||
|
||||
docbook_xml_dtd_42 = (import ../data/sgml+xml/schemas/xml-dtd/docbook-4.2) {
|
||||
|
Loading…
Reference in New Issue
Block a user