* gnu/packages/patches/kmod-module-directory.patch: Add hunk for
tools/static-nodes.c. Taken from Nixpkgs, where it was added by
Eelco Dolstra <eelco.dolstra@logicblox.com>.
* gnu/packages/patches/kmod-module-directory.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/linux.scm (kmod)[origin]: Use it.