1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
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

12 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)";
}