rtorrent: make updateScript update both this package and libtorrent-rakshasa (#505437)

This commit is contained in:
Thiago Kenji Okada
2026-03-31 20:52:36 +00:00
committed by GitHub
2 changed files with 6 additions and 5 deletions
@@ -6,7 +6,6 @@
curl,
fetchFromGitHub,
lib,
nix-update-script,
openssl,
pkg-config,
stdenv,
@@ -38,8 +37,6 @@ stdenv.mkDerivation (finalAttrs: {
configureFlags = [ "--enable-aligned=yes" ];
passthru.updateScript = nix-update-script { };
enableParallelBuilding = true;
meta = {
+6 -2
View File
@@ -1,4 +1,5 @@
{
_experimental-update-script-combinators,
autoreconfHook,
cppunit,
curl,
@@ -9,8 +10,8 @@
libtorrent-rakshasa,
lua5_4_compat,
ncurses,
nixosTests,
nix-update-script,
nixosTests,
openssl,
pkg-config,
stdenv,
@@ -72,7 +73,10 @@ stdenv.mkDerivation (finalAttrs: {
passthru = {
inherit libtorrent-rakshasa;
tests = { inherit (nixosTests) rtorrent; };
updateScript = nix-update-script { };
updateScript = _experimental-update-script-combinators.sequence [
(nix-update-script { attrPath = "libtorrent-rakshasa"; })
(nix-update-script { })
];
};
meta = {