define python3

This commit is contained in:
Inex Code 2022-06-24 17:28:46 +03:00
parent 423ff97688
commit c37dfc8ab5

View file

@ -3,7 +3,7 @@ let
in in
self: super: rec { self: super: rec {
python = super.python.override { python3 = super.python.override {
packageOverrides = python-self: python-super: { packageOverrides = python-self: python-super: {
strawberry_graphql = python-super.buildPythonPackage rec { strawberry_graphql = python-super.buildPythonPackage rec {
pname = "strawberry-graphql"; pname = "strawberry-graphql";
@ -29,7 +29,7 @@ self: super: rec {
}; };
}; };
}; };
pythonPackages = python.pkgs; pythonPackages = python3.pkgs;
selfprivacy-api = super.callPackage ./pkgs/selfprivacy-api { selfprivacy-api = super.callPackage ./pkgs/selfprivacy-api {
nixpkgs = pkgs; nixpkgs = pkgs;
pythonPkgs = pythonPackages; pythonPkgs = pythonPackages;