NixOS/nixpkgs — pull request #1128 by wkennington (2013-10-27 09:41:40+00:00)
Title: Add ZFS dependencies to the initrd so that the zpool command works.

During my testing of zfs on root I was unable to mount the zfs pool because of missing shared libraries in the initrd. Looking back on old pull requests it looks as though someone thought they weren't necessary.

Additionally, I'm running a more recent kernel which does not wait for scsi devices to mount with the scsi_wait modules. Therefore, I added a hack to force the zpool import command to wait a reasonable amount of time until device nodes have come up.