Merge pull request #267589 from reckenrode/sourcehut-fix

sourcehut: fix build on Darwin
This commit is contained in:
Weijia Wang 2023-11-15 19:02:58 +01:00 committed by GitHub
commit 20067f609e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,6 @@
{ python3 { lib
, stdenv
, python3
, callPackage , callPackage
, recurseIntoAttrs , recurseIntoAttrs
, nixosTests , nixosTests
@ -35,7 +37,9 @@ let
hash = "sha256-aRO4JH2KKS74MVFipRkx4rQM6RaB8bbxj2lwRSAMSjA="; hash = "sha256-aRO4JH2KKS74MVFipRkx4rQM6RaB8bbxj2lwRSAMSjA=";
}; };
nativeCheckInputs = with super; [ pytestCheckHook mock ]; nativeCheckInputs = with super; [ pytestCheckHook mock ];
disabledTestPaths = []; disabledTestPaths = []
# Disable incompatible tests on Darwin.
++ lib.optionals stdenv.isDarwin [ "test/aaa_profiling" ];
}); });
flask-sqlalchemy = super.flask-sqlalchemy.overridePythonAttrs (oldAttrs: rec { flask-sqlalchemy = super.flask-sqlalchemy.overridePythonAttrs (oldAttrs: rec {