1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-05 12:02:47 +00:00

libsoup: fix build

This commit is contained in:
Jonathan Ringer 2020-11-05 20:46:41 -08:00
parent 2f8226470d
commit 6cfd954b06

View file

@ -22,6 +22,7 @@ stdenv.mkDerivation rec {
python3
sqlite
libpsl
glib.out
brotli
] ++ lib.optionals stdenv.isLinux [
libsysprof-capture
@ -29,6 +30,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ meson ninja pkgconfig gobject-introspection vala glib ];
propagatedBuildInputs = [ glib libxml2 ];
NIX_CFLAGS_COMPILE = [ "-lpthread" ];
mesonFlags = [
"-Dtls_check=false" # glib-networking is a runtime dependency, not a compile-time dependency
"-Dgssapi=disabled"