nixpkgs/pkgs/os-specific/linux/udev/default.nix
Eelco Dolstra d39fd2a578 * Rewrite all the kernel.org URLs to mirror://kernel/.
svn path=/nixpkgs/trunk/; revision=9202
2007-08-27 13:59:40 +00:00

11 lines
432 B
Nix

{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "udev-112";
src = fetchurl {
url = mirror://kernel/linux/utils/kernel/hotplug/udev-112.tar.bz2;
sha256 = "0vhqnli4va3yzvr90rcpbgs42sphpk9prdis9x2qmlmdynzangw2";
};
preBuild = "makeFlagsArray=(etcdir=$out/etc sbindir=$out/sbin usrbindir=$out/bin usrsbindir=$out/sbin mandir=$out/share/man INSTALL='install -c')";
preInstall = "installFlagsArray=(udevdir=dummy)";
}