diff --git a/nixos-overlay.nix b/nixos-overlay.nix index 2cfe91a..5a527a3 100644 --- a/nixos-overlay.nix +++ b/nixos-overlay.nix @@ -3,44 +3,52 @@ { nixpkgs = { overlays = [ - ( self : super : with pkgs ; { - kernelmaft = { + ( self : super : + with pkgs ; - python = { + { + kernelmaft = { - bw-file-resubmit = callPackage ( - import ./python3.11-bw-file-resubmit.nix - ) {} ; - - django-imagekit = callPackage ( - import ./python3.11-django-imagekit.nix + bookwyrm = callPackage ( + import ./bookwyrm.nix ) {} ; - django-pgtrigger = callPackage ( - import ./python3.11-django-pgtrigger.nix - ) {} ; - - django-sass-processor = callPackage ( - import ./python3.11-django-sass-processor.nix - ) {} ; - - s3-tar = callPackage ( - import ./python3.11-s3-tar.nix - ) {} ; - + python = { + + bw-file-resubmit = callPackage ( + import ./python3.11-bw-file-resubmit.nix + ) {} ; + + django-imagekit = callPackage ( + import ./python3.11-django-imagekit.nix + ) {} ; + + django-pgtrigger = callPackage ( + import ./python3.11-django-pgtrigger.nix + ) {} ; + + django-sass-processor = callPackage ( + import ./python3.11-django-sass-processor.nix + ) {} ; + + s3-tar = callPackage ( + import ./python3.11-s3-tar.nix + ) {} ; + + } ; + } ; - } ; + # TODO: Use the following template once the custom Python packages have been converted to use `buildPythonPackage` + # + # python311 = super . python311 . override { + # packageOverrides = python-self : python-super : { + # package-name = super . callPackage ( import ./package-file.nix ) {} ; + # } ; + # } ; - # TODO: Use the following template once the custom Python packages have been converted to use `buildPythonPackage` - # - # python311 = super . python311 . override { - # packageOverrides = python-self : python-super : { - # package-name = super . callPackage ( import ./package-file.nix ) {} ; - # } ; - # } ; - - } ) + } + ) ] ; } ; }