schemathesis: Add as runnable application instead of library to resolve httpx dependency collision issue

This commit is contained in:
Qubasa
2023-11-20 17:14:12 +01:00
parent 53f0cf15ae
commit ad4032e214
5 changed files with 13 additions and 15 deletions

View File

@@ -31,12 +31,14 @@
{
devShells.clan-cli = pkgs.callPackage ./shell.nix {
inherit (self'.packages) clan-cli ui-assets nix-unit;
};
packages = {
clan-cli = pkgs.python3.pkgs.callPackage ./default.nix {
inherit (self'.packages) ui-assets;
inherit (inputs) nixpkgs;
inherit (inputs.nixpkgs-for-deal.legacyPackages.${system}.python3Packages) deal;
inherit (inputs.nixpkgs-for-deal.legacyPackages.${system}.python3Packages) schemathesis;
clan-core-path = clanCoreWithVendoredDeps;
};
inherit (self'.packages.clan-cli) clan-openapi;