1
This commit is contained in:
Motiejus Jakštys 2024-01-13 19:36:42 +02:00
parent fbae45a98e
commit 4555d5f1f9

View File

@ -30,20 +30,13 @@
... ...
}: }:
flake-utils.lib.eachDefaultSystem (system: let flake-utils.lib.eachDefaultSystem (system: let
pkgs = import nixpkgs {inherit system;};
gunicornPort = 8001; gunicornPort = 8001;
appDeps = with pkgs; [ pkgs = import nixpkgs {inherit system;};
python3Packages.django_5
python3Packages.django-compressor appDeps = with pkgs.python3Packages; [django_5 django-compressor];
]; runtimeDeps = with pkgs; appDeps ++ [python3Packages.geoip2 libmaxminddb];
runtimeDeps = with pkgs; buildDeps = with pkgs; appDeps ++ [dart-sass];
[
python3Packages.geoip2
libmaxminddb
]
++ appDeps;
buildDeps = [pkgs.dart-sass] ++ appDeps;
geoip = pkgs.stdenv.mkDerivation { geoip = pkgs.stdenv.mkDerivation {
name = "geoip"; name = "geoip";