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