mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
Merge #139638: transmission: fixes to make one test work again
This commit is contained in:
commit
189dabc901
@ -97,7 +97,7 @@ in stdenv.mkDerivation {
|
||||
include <abstractions/nameservice>
|
||||
include <abstractions/ssl_certs>
|
||||
include "${apparmorRulesFromClosure { name = "transmission-daemon"; } ([
|
||||
curl libevent openssl pcre zlib
|
||||
curl libevent openssl pcre zlib libnatpmp miniupnpc
|
||||
] ++ lib.optionals enableSystemd [ systemd ]
|
||||
++ lib.optionals stdenv.isLinux [ inotify-tools ]
|
||||
)}"
|
||||
@ -116,6 +116,7 @@ in stdenv.mkDerivation {
|
||||
'';
|
||||
|
||||
passthru.tests = {
|
||||
apparmor = nixosTests.transmission; # starts the service with apparmor enabled
|
||||
smoke-test = nixosTests.bittorrent;
|
||||
};
|
||||
|
||||
|
@ -19,6 +19,8 @@ let
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" "INSTALLPREFIX=$(out)" ];
|
||||
|
||||
postInstall = ''chmod +x "$out"/lib/libminiupnpc.so'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://miniupnp.free.fr/";
|
||||
description = "A client that implements the UPnP Internet Gateway Device (IGD) specification";
|
||||
|
Loading…
Reference in New Issue
Block a user