nixpkgs/pkgs/os-specific/linux/udev/default.nix
Eelco Dolstra 5474c6518f * Impurity in udev: don't call /usr/bin/install.
svn path=/nixpkgs/trunk/; revision=7013
2006-11-13 10:33:29 +00:00

12 lines
448 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 INSTALL='install -c')";
preInstall = "installFlagsArray=(\"\${makeFlagsArray[@]}\" udevdir=dummy)";
}