Unverified Commit 312338e6 authored by Adam C. Stephens's avatar Adam C. Stephens Committed by GitHub
Browse files

pkgsStatic.ovn: fix build (#441913)

parents 0de86536 ad4761bb
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;