Merge pull request #319888 from tweag/rep-python-test

python3.tests.nix-pythonprefix-mypy: Avoid unnecessary rebuilds
This commit is contained in:
Martin Weinelt 2024-06-15 02:19:37 +02:00 committed by GitHub
commit fddf4fb9e1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,4 +1,4 @@
{ buildPythonPackage, pythonOlder }:
{ lib, buildPythonPackage, pythonOlder }:
buildPythonPackage {
@ -6,7 +6,13 @@ buildPythonPackage {
pname = "typeddep";
version = "1.3.3.7";
src = ./.;
src = lib.fileset.toSource {
root = ./.;
fileset = lib.fileset.unions [
./setup.py
./typeddep
];
};
disabled = pythonOlder "3.7";