nixpkgs-suyu/pkgs/os-specific/linux/upstart/default.nix
Eelco Dolstra a951fc2050 * Upstart doesn't like dynamic linking.
svn path=/nixpkgs/branches/stdenv-updates/; revision=15239
2009-04-22 07:19:22 +00:00

23 lines
534 B
Nix

{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "upstart-0.3.0";
src = fetchurl {
url = http://nixos.org/tarballs/upstart-0.3.0.tar.bz2;
md5 = "269046f41c6418225306280044a799eb";
};
dontDisableStatic = true;
configureFlags = "--enable-compat";
patches = [./cfgdir.patch];
preBuild = "export NIX_CFLAGS_COMPILE=\"$NIX_CFLAGS_COMPILE -DSHELL=\\\"$SHELL\\\"\"";
meta = {
homepage = "http://upstart.ubuntu.com/";
description = "An event-based replacement for the /sbin/init daemon";
};
}