Skip to content

Commit

Permalink
python311Packages.aiohttp: remove reference to dev dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored and mweinelt committed Apr 18, 2024
1 parent ed45484 commit 1aac5eb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkgs/development/python-modules/aiohttp/default.nix
Expand Up @@ -5,6 +5,7 @@
, fetchFromGitHub
, substituteAll
, llhttp
, python
# build_requires
, cython
, setuptools
Expand Down Expand Up @@ -77,6 +78,11 @@ buildPythonPackage rec {
brotli
];

postInstall = ''
# remove source code file with reference to dev dependencies
rm $out/${python.sitePackages}/aiohttp/_cparser.pxd{,.orig}
'';

# NOTE: pytest-xdist cannot be added because it is flaky. See https://github.com/NixOS/nixpkgs/issues/230597 for more info.
nativeCheckInputs = [
freezegun
Expand Down

0 comments on commit 1aac5eb

Please sign in to comment.