try out using host packages and newer python packages

This commit is contained in:
Inex Code 2022-08-12 20:39:42 +04:00
parent 36e1855b9c
commit bb7641fdf4

View file

@ -8,6 +8,7 @@ let
hash = "sha256:0q84mvh4liacqv8fdxpkm28233mfm5x1s36wwxhwdq01jivk58xn"; hash = "sha256:0q84mvh4liacqv8fdxpkm28233mfm5x1s36wwxhwdq01jivk58xn";
}; };
in import pinnedPkgs {}; in import pinnedPkgs {};
hostPkgs = import <nixpkgs> {};
in in
self: super: rec { self: super: rec {
@ -39,12 +40,12 @@ self: super: rec {
}; };
pythonPackages = python39.pkgs; pythonPackages = python39.pkgs;
selfprivacy-api = super.callPackage ./pkgs/selfprivacy-api { selfprivacy-api = super.callPackage ./pkgs/selfprivacy-api {
pkgs = pkgs; pkgs = hostPkgs;
pythonPkgs = pythonPackages; pythonPkgs = pythonPackages;
lib = pkgs.lib; lib = pkgs.lib;
}; };
selfprivacy-graphql-api = super.callPackage ./pkgs/selfprivacy-graphql-api { selfprivacy-graphql-api = super.callPackage ./pkgs/selfprivacy-graphql-api {
pkgs = pkgs; pkgs = hostPkgs;
pythonPkgs = pythonPackages; pythonPkgs = pythonPackages;
lib = pkgs.lib; lib = pkgs.lib;
}; };