mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
* Be able to cope with future changes to Upstart.
svn path=/nixpkgs/trunk/; revision=15311
This commit is contained in:
parent
ecd43e2bfe
commit
f7454eae9c
@ -14,6 +14,16 @@ stdenv.mkDerivation {
|
||||
|
||||
preBuild = "export NIX_CFLAGS_COMPILE=\"$NIX_CFLAGS_COMPILE -DSHELL=\\\"$SHELL\\\"\"";
|
||||
|
||||
# The interface version prevents NixOS from switching to an
|
||||
# incompatible Upstart at runtime. (Switching across reboots is
|
||||
# fine, of course.) It should be increased whenever Upstart changes
|
||||
# in a backwards-incompatible way. If the interface version of two
|
||||
# Upstart builds is the same, then we can switch between them at
|
||||
# runtime; otherwise we can't and we need to reboot.
|
||||
passthru = {
|
||||
interfaceVersion = 0;
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = "http://upstart.ubuntu.com/";
|
||||
description = "An event-based replacement for the /sbin/init daemon";
|
||||
|
Loading…
Reference in New Issue
Block a user