tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
unit: 1.29.1 -> 1.30.0
Izorkin
2 years ago
baa55501
1f687168
+3
-7
2 changed files
expand all
collapse all
unified
split
nixos
modules
services
web-servers
unit
default.nix
pkgs
servers
http
unit
default.nix
+1
-1
nixos/modules/services/web-servers/unit/default.nix
···
104
104
PIDFile = "/run/unit/unit.pid";
105
105
ExecStart = ''
106
106
${cfg.package}/bin/unitd --control 'unix:/run/unit/control.unit.sock' --pid '/run/unit/unit.pid' \
107
107
-
--log '${cfg.logDir}/unit.log' --state '${cfg.stateDir}' --tmp '/tmp' \
107
107
+
--log '${cfg.logDir}/unit.log' --statedir '${cfg.stateDir}' --tmpdir '/tmp' \
108
108
--user ${cfg.user} --group ${cfg.group}
109
109
'';
110
110
ExecStop = ''
+2
-6
pkgs/servers/http/unit/default.nix
···
30
30
php82-unit = php82.override phpConfig;
31
31
32
32
in stdenv.mkDerivation rec {
33
33
-
version = "1.29.1";
33
33
+
version = "1.30.0";
34
34
pname = "unit";
35
35
36
36
src = fetchFromGitHub {
37
37
owner = "nginx";
38
38
repo = pname;
39
39
rev = version;
40
40
-
sha256 = "sha256-Jk/rzPJq1FWWTe31Fa2Ah+MoWP5mh6XNSmiYIY42vvk=";
40
40
+
sha256 = "sha256-QLTzlW1OsU+gwaPKozLcBKfuTXbYg1ONqTVZpGX6mrQ=";
41
41
};
42
42
43
43
nativeBuildInputs = [ which ];
···
76
76
${optionalString withRuby_2_7 "./configure ruby --module=ruby27 --ruby=${ruby_2_7}/bin/ruby"}
77
77
${optionalString withRuby_3_0 "./configure ruby --module=ruby30 --ruby=${ruby_3_0}/bin/ruby"}
78
78
${optionalString withRuby_3_1 "./configure ruby --module=ruby31 --ruby=${ruby_3_1}/bin/ruby"}
79
79
-
'';
80
80
-
81
81
-
postInstall = ''
82
82
-
rmdir $out/state
83
79
'';
84
80
85
81
passthru.tests.unit-php = nixosTests.unit-php;