update cross-seed 6.13.5 -> 6.13.6 (#489850)

This commit is contained in:
Matteo Pacini
2026-02-14 15:24:44 +00:00
committed by GitHub
2 changed files with 8 additions and 7 deletions
@@ -105,7 +105,7 @@ in
};
outputDir = mkOption {
type = types.path;
type = types.nullOr types.path;
default = "${cfg.configDir}/output";
defaultText = "\${cfg.configDir}/output";
description = "Directory where cross-seed will place torrent files it finds.";
@@ -193,7 +193,8 @@ in
inherit (cfg) group user;
mode = "700";
};
}
// lib.optionalAttrs (cfg.settings.outputDir != null) {
${cfg.settings.outputDir}.d = {
inherit (cfg) group user;
mode = "750";
@@ -222,7 +223,7 @@ in
LoadCredential = lib.mkIf (cfg.settingsFile != null) "secretSettingsFile:${cfg.settingsFile}";
StateDirectory = "cross-seed";
ReadWritePaths = [ cfg.settings.outputDir ];
ReadWritePaths = lib.optional (cfg.settings.outputDir != null) cfg.settings.outputDir;
ReadOnlyPaths = lib.optional (cfg.settings.torrentDir != null) cfg.settings.torrentDir;
};
@@ -231,7 +232,7 @@ in
RequiresMountsFor = lib.flatten [
cfg.settings.dataDirs
cfg.settings.linkDirs
cfg.settings.outputDir
(lib.optional (cfg.settings.outputDir != null) cfg.settings.outputDir)
];
};
};
+3 -3
View File
@@ -8,16 +8,16 @@
buildNpmPackage rec {
pname = "cross-seed";
version = "6.13.5";
version = "6.13.6";
src = fetchFromGitHub {
owner = "cross-seed";
repo = "cross-seed";
tag = "v${version}";
hash = "sha256-WdKd20vzJfWvnZKBID6IzXOScrZgPKDDafzT2PY9N9k=";
hash = "sha256-E2tnlDU2/msNcSsoDXvwGWFhWpXEByloUmlVp2tckwo=";
};
npmDepsHash = "sha256-iTho+dbJAt7B2R+dN2xo6jnRo/psjQE76GHYksoojdA=";
npmDepsHash = "sha256-tR7zPoIX6yjlRx8QbRSxskvueQ1BsP3gGAlonKHH0RY=";
passthru = {
updateScript = nix-update-script;