nixpkgs/pkgs/os-specific/linux/udev/default.nix
Eelco Dolstra 986ec9c8a1 * Fix some paths.
svn path=/nixpkgs/trunk/; revision=6974
2006-11-07 21:13:57 +00:00

12 lines
427 B
Nix

{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "udev-103";
src = fetchurl {
url = http://www.us.kernel.org/pub/linux/utils/kernel/hotplug/udev-103.tar.bz2;
md5 = "7360ce47b5ec3f9fa71f18071ecb8b97";
};
preBuild = "makeFlagsArray=(etcdir=$out/etc sbindir=$out/sbin usrbindir=$out/bin usrsbindir=$out/sbin mandir=$out/share/man)";
preInstall = "installFlagsArray=(\"\${makeFlagsArray[@]}\" udevdir=dummy)";
}