diff options
author | K900 <me@0upti.me> | 2024-01-12 13:58:07 +0300 |
---|---|---|
committer | K900 <me@0upti.me> | 2024-01-12 13:58:07 +0300 |
commit | 9490738be7b6a33844e4faf192f168bb755539e6 (patch) | |
tree | 7d259504e6779c6bce0d722bc130680eabb116f4 /nixos | |
parent | 06797d4df4baaa51b229081083a88b92dac3ff7c (diff) |
nixos/lib/test-driver: add setuptools build dep
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/lib/test-driver/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/nixos/lib/test-driver/default.nix b/nixos/lib/test-driver/default.nix index 09d80deb85467..1acdaacc4e658 100644 --- a/nixos/lib/test-driver/default.nix +++ b/nixos/lib/test-driver/default.nix @@ -18,7 +18,7 @@ python3Packages.buildPythonApplication { pname = "nixos-test-driver"; version = "1.1"; src = ./.; - format = "pyproject"; + pyproject = true; propagatedBuildInputs = [ coreutils @@ -32,6 +32,10 @@ python3Packages.buildPythonApplication { ++ (lib.optionals enableOCR [ imagemagick_light tesseract4 ]) ++ extraPythonPackages python3Packages; + nativeBuildInputs = [ + python3Packages.setuptools + ]; + passthru.tests = { inherit (nixosTests.nixos-test-driver) driver-timeout; }; |