Commit ad4761bb authored by Ihar Hrachyshka's avatar Ihar Hrachyshka
Browse files

pkgsStatic.ovn: fix build

parent 252726f4
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -35,11 +35,13 @@ stdenv.mkDerivation rec {
  ];

  buildInputs = [
    libbpf
    libcap_ng
    numactl
    openssl
    unbound
  ]
  ++ lib.optionals (!stdenv.hostPlatform.isStatic) [
    libbpf
    xdp-tools
  ];

@@ -58,7 +60,8 @@ stdenv.mkDerivation rec {
    "--with-dbdir=/var/lib/ovn"
    "--sbindir=$(out)/bin"
    "--enable-ssl"
  ];
  ]
  ++ lib.optional stdenv.hostPlatform.isStatic "--with-openssl=${lib.getLib openssl.dev}";

  enableParallelBuilding = true;