Merge pull request #121936 from svanderburg/disnix_style_fixes
Disnix style fixes
This commit is contained in:
commit
5af7d3ebbd
3 changed files with 16 additions and 4 deletions
|
@ -53,6 +53,7 @@ in
|
|||
|
||||
environment.systemPackages = [ pkgs.disnix ] ++ optional cfg.useWebServiceInterface pkgs.DisnixWebService;
|
||||
environment.variables.PATH = lib.optionals cfg.enableProfilePath (map (profileName: "/nix/var/nix/profiles/disnix/${profileName}/bin" ) cfg.profiles);
|
||||
environment.variables.DISNIX_REMOTE_CLIENT = lib.optionalString (cfg.enableMultiUser) "disnix-client";
|
||||
|
||||
services.dbus.enable = true;
|
||||
services.dbus.packages = [ pkgs.disnix ];
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool , pkg-config, glib, libxml2, libxslt, getopt, libiconv, gettext, nix, disnix }:
|
||||
{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, pkg-config, glib
|
||||
, libxml2, libxslt, getopt, libiconv, gettext, nix, disnix
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version="2020-11-02";
|
||||
version = "unstable-2020-11-02";
|
||||
name = "dydisnix-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
|
@ -13,13 +15,16 @@ stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [ pkg-config autoconf automake libtool ];
|
||||
buildInputs = [ glib libxml2 libxslt getopt nix disnix libiconv gettext ];
|
||||
|
||||
preConfigure = ''
|
||||
./bootstrap
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "A toolset enabling self-adaptive redeployment on top of Disnix";
|
||||
longDescription = "Dynamic Disnix is a (very experimental!) prototype extension framework for Disnix supporting dynamic (re)deployment of service-oriented systems.";
|
||||
longDescription = ''
|
||||
Dynamic Disnix is a (very experimental!) prototype extension framework for Disnix supporting dynamic (re)deployment of service-oriented systems.
|
||||
'';
|
||||
license = lib.licenses.lgpl21Plus;
|
||||
maintainers = [ lib.maintainers.tomberek ];
|
||||
platforms = lib.platforms.unix;
|
||||
|
|
|
@ -1,5 +1,11 @@
|
|||
{ lib, stdenv, fetchurl, netcat
|
||||
, systemd ? null, ejabberd ? null, mysql ? null, postgresql ? null, subversion ? null, mongodb ? null, mongodb-tools ? null, influxdb ? null, supervisor ? null, docker ? null, nginx ? null, s6-rc ? null, xinetd ? null
|
||||
|
||||
# Optional packages
|
||||
, systemd ? null, ejabberd ? null, mysql ? null, postgresql ? null, subversion ? null
|
||||
, mongodb ? null, mongodb-tools ? null, influxdb ? null, supervisor ? null, docker ? null
|
||||
, nginx ? null, s6-rc ? null, xinetd ? null
|
||||
|
||||
# Configuration flags
|
||||
, enableApacheWebApplication ? false
|
||||
, enableAxis2WebService ? false
|
||||
, enableEjabberdDump ? false
|
||||
|
|
Loading…
Reference in a new issue