miniupnpd: use iptables-legacy

This commit is contained in:
Justinas Stankevicius 2023-03-18 00:38:07 +02:00
parent 2ce9b9842b
commit 83cb6c00f0

View File

@ -1,10 +1,10 @@
{ stdenv, lib, fetchurl, iptables, libuuid, openssl, pkg-config
{ stdenv, lib, fetchurl, iptables-legacy, libuuid, openssl, pkg-config
, which, iproute2, gnused, coreutils, gawk, makeWrapper
, nixosTests
}:
let
scriptBinEnv = lib.makeBinPath [ which iproute2 iptables gnused coreutils gawk ];
scriptBinEnv = lib.makeBinPath [ which iproute2 iptables-legacy gnused coreutils gawk ];
in
stdenv.mkDerivation rec {
pname = "miniupnpd";
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
sha256 = "0crv975qqppnj27jba96yysq2911y49vjd74sp9vnjb54z0d9pyi";
};
buildInputs = [ iptables libuuid openssl ];
buildInputs = [ iptables-legacy libuuid openssl ];
nativeBuildInputs= [ pkg-config makeWrapper ];