nixos/peertube: use nodejs_24 (#517850)
This commit is contained in:
@@ -525,7 +525,7 @@ in
|
||||
environment = env;
|
||||
|
||||
path = with pkgs; [
|
||||
nodejs_20
|
||||
cfg.package.nodejs
|
||||
yarn
|
||||
ffmpeg-headless
|
||||
openssl
|
||||
@@ -946,7 +946,7 @@ in
|
||||
})
|
||||
(lib.attrsets.setAttrByPath
|
||||
[ cfg.user "packages" ]
|
||||
[ peertubeEnv pkgs.nodejs_20 pkgs.yarn pkgs.ffmpeg-headless ]
|
||||
[ peertubeEnv cfg.package.nodejs pkgs.yarn pkgs.ffmpeg-headless ]
|
||||
)
|
||||
(lib.mkIf cfg.redis.enableUnixSocket {
|
||||
${config.services.peertube.user}.extraGroups = [ "redis-peertube" ];
|
||||
|
||||
@@ -145,7 +145,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru.tests.peertube = nixosTests.peertube;
|
||||
passthru = {
|
||||
nodejs = nodejs_24;
|
||||
tests.peertube = nixosTests.peertube;
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Free software to take back control of your videos";
|
||||
|
||||
Reference in New Issue
Block a user