diff --git a/flake.nix b/flake.nix index 48bf9d5..8a1a855 100644 --- a/flake.nix +++ b/flake.nix @@ -61,13 +61,6 @@ darwinConfigurations = (import ./darwin { inherit inputs overlays; }); - homeConfigurations = ( - import ./home { - inherit inputs overlays; - nixpkgs = nixunstable; - } - ); - devShell = (flake-utils.lib.eachSystemMap flake-utils.lib.allSystems (system: let pkgs = import nixunstable { inherit system overlays; }; in pkgs.mkShell { diff --git a/overlays/django-rapyd-modernauth.nix b/overlays/django-rapyd-modernauth.nix index dd637b2..8f7eec2 100644 --- a/overlays/django-rapyd-modernauth.nix +++ b/overlays/django-rapyd-modernauth.nix @@ -1,4 +1,16 @@ -{ lib, buildPythonPackage, fetchPypi, pkgs}: +{ + lib, + buildPythonPackage, + fetchPypi, + + click, + django, + python-dotenv, + pytz, + setuptools, + sqlparse, + zipp +}: let pydeps = pypkgs: with pypkgs; [ @@ -28,8 +40,7 @@ in buildPythonPackage rec { doCheck = false; - buildInputs = with pkgs; [ - #(python3.withPackages pydeps) + buildInputs = [ click django python-dotenv @@ -39,7 +50,6 @@ in buildPythonPackage rec { zipp ]; - nativeBuildInputs = with pkgs; [ - #(python3.withPackages pydeps) + nativeBuildInputs = [ ]; } diff --git a/overlays/packages.nix b/overlays/packages.nix index c98d5cb..09f4baf 100644 --- a/overlays/packages.nix +++ b/overlays/packages.nix @@ -14,7 +14,7 @@ flake-utils.lib.eachDefaultSystemMap (system: brew = pkgs.callPackage ./homebrew.nix {}; - django-rapyd-modernauth = pkgs.callPackage ./django-rapyd-modernauth.nix { + django-rapyd-modernauth = pkgs.python3.pkgs.callPackage ./django-rapyd-modernauth.nix { buildPythonPackage = pkgs.python3.pkgs.buildPythonPackage; };