nixpkgs/pkgs/os-specific/linux/mountall/default.nix
Eelco Dolstra 240305fab4 * Added mountall. This is an Ubuntu utility that mounts filesystems
as they become available (as determined by monitoring udev) and
  emits Upstart events to inform other jobs that the filesystems are
  mounted.  This is very useful for NixOS (which currently ignores
  filesystems in the job dependency chain - very bad).

  Unfortunately, mountall depends on Plymouth (a boot splash
  implementation).  The patch allows mountall to build without
  Plymouth.  Since Plymouth is also used to inform users about failing
  mounts and get responses, some more changes will be needed.
  Probably mountall should emit a "mount-failed" event to trigger a
  root shell on the console to allow the user to repair the problem.

svn path=/nixpkgs/trunk/; revision=22143
2010-06-04 13:43:53 +00:00

22 lines
625 B
Nix

{ stdenv, fetchurl, pkgconfig, libnih, dbus, udev, autoconf, automake, libtool }:
stdenv.mkDerivation {
name = "mountall-2.15";
src = fetchurl {
url = https://launchpad.net/ubuntu/+archive/primary/+files/mountall_2.15.tar.gz;
sha256 = "1ik9r1av0f17byfxr4l2w0qpaijxkfqvxws6gmc98liq6fyyzn4v";
};
patches = [ ./no-plymouth.patch ];
preConfigure = "autoreconf";
buildInputs = [ pkgconfig libnih dbus.libs udev autoconf automake libtool ];
meta = {
homepage = https://launchpad.net/ubuntu/+source/mountall;
description = "Utility to mount all filesystems and emit Upstart events";
};
}