e11sync

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | LICENSE

commit bbac4f96b478c83d55fbbe3fd18c98f878d56b90 (tree)
parent 074767b84caef892778f590704c9e6376ca5e3d5
Author: Motiejus Jakštys <motiejus@jakstys.lt>
Date:   Tue, 16 Jan 2024 00:31:18 +0200

fix python3 overrides

Diffstat:
Mpkgs/e11sync-backend.nix | 21+++++++++++++--------
1 file changed, 13 insertions(+), 8 deletions(-)

diff --git a/pkgs/e11sync-backend.nix b/pkgs/e11sync-backend.nix @@ -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