pkgsStatic.ovn: fix build (#441913)

authored by Adam C. Stephens and committed by GitHub 312338e6 0de86536

+5 -2
+5 -2
pkgs/by-name/ov/ovn/package.nix
··· 35 35 ]; 36 36 37 37 buildInputs = [ 38 - libbpf 39 38 libcap_ng 40 39 numactl 41 40 openssl 42 41 unbound 42 + ] 43 + ++ lib.optionals (!stdenv.hostPlatform.isStatic) [ 44 + libbpf 43 45 xdp-tools 44 46 ]; 45 47 ··· 58 60 "--with-dbdir=/var/lib/ovn" 59 61 "--sbindir=$(out)/bin" 60 62 "--enable-ssl" 61 - ]; 63 + ] 64 + ++ lib.optional stdenv.hostPlatform.isStatic "--with-openssl=${lib.getLib openssl.dev}"; 62 65 63 66 enableParallelBuilding = true; 64 67