1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00

kmod: Create compat program symlinks

svn path=/nixpkgs/trunk/; revision=33579
This commit is contained in:
Shea Levy 2012-04-04 19:28:33 +00:00
parent 4d0fdc5e6b
commit f3f8040aaf

View file

@ -14,6 +14,13 @@ stdenv.mkDerivation {
patches = [ ./module-dir.patch ];
postInstall = ''
for prog in lsmod rmmod insmod modinfo modprobe depmod
do
ln -sv kmod $out/bin/$prog
done
'';
meta = {
homepage = http://www.kernel.org/pub/linux/utils/kernel/kmod/;
description = "Tools for loading and managing Linux kernel modules";