diff options
author | Vladimír Čunát <v@cunat.cz> | 2023-01-31 12:21:16 +0100 |
---|---|---|
committer | Vladimír Čunát <v@cunat.cz> | 2023-01-31 12:21:16 +0100 |
commit | 7ef4ffac07067716d8a3d400e4d8fb316596d8c3 (patch) | |
tree | 0f7afe40c4f3fd1caebf99f7790afc3fb1b3972a /pkgs/development/libraries/nghttp2 | |
parent | acdec1e889cad18845f377ab548ca65b408af166 (diff) | |
parent | c2ae0a0b8fbf0d3e922b0368e31971d4a9101a02 (diff) |
Merge #211971: python3Packages.nghttp2: fix build
Diffstat (limited to 'pkgs/development/libraries/nghttp2')
-rw-r--r-- | pkgs/development/libraries/nghttp2/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/development/libraries/nghttp2/default.nix b/pkgs/development/libraries/nghttp2/default.nix index d267960e36dfe..2fae8135124e1 100644 --- a/pkgs/development/libraries/nghttp2/default.nix +++ b/pkgs/development/libraries/nghttp2/default.nix @@ -58,7 +58,10 @@ stdenv.mkDerivation rec { "--disable-examples" (lib.enableFeature enableApp "app") ] ++ lib.optionals (enableAsioLib) [ "--enable-asio-lib" "--with-boost-libdir=${boost}/lib" ] - ++ lib.optionals (enablePython) [ "--with-cython=${python3Packages.cython}/bin/cython" ]; + ++ lib.optionals (enablePython) [ + "--enable-python-bindings" + "--with-cython=${python3Packages.cython}/bin/cython" + ]; # Unit tests require CUnit and setting TZDIR environment variable doCheck = enableTests; @@ -82,6 +85,7 @@ stdenv.mkDerivation rec { passthru.tests = { inherit curl libsoup; + python-nghttp2 = python3Packages.nghttp2; }; meta = with lib; { |