diff --git a/flake.nix b/flake.nix index fa41d18..e3aa751 100644 --- a/flake.nix +++ b/flake.nix @@ -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";