fix python3 overrides
This commit is contained in:
parent
074767b84c
commit
bbac4f96b4
|
@ -15,14 +15,19 @@
|
|||
stdenv.mkDerivation {
|
||||
name = "e11sync";
|
||||
propagatedBuildInputs = let
|
||||
pythonEnv = python3.withPackages (ps:
|
||||
with ps; [
|
||||
django_5
|
||||
django-compressor.override
|
||||
{django = django_5;}
|
||||
#{django-appconf = django-appconf.override {django = django_5;};}
|
||||
geoip2
|
||||
]);
|
||||
pythonEnv =
|
||||
(python3.override
|
||||
{
|
||||
packageOverrides = _: super: {
|
||||
django = super.django_5;
|
||||
};
|
||||
})
|
||||
.withPackages (ps:
|
||||
with ps; [
|
||||
django
|
||||
django-compressor
|
||||
geoip2
|
||||
]);
|
||||
in [
|
||||
pythonEnv
|
||||
libmaxminddb
|
||||
|
|
Loading…
Reference in New Issue