1
Fork 0
This commit is contained in:
Motiejus Jakštys 2024-01-13 19:36:42 +02:00
parent fbae45a98e
commit 4555d5f1f9
1 changed files with 5 additions and 12 deletions

View File

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