Formatting in NixOS module

This commit is contained in:
Reinout Meliesie 2025-03-04 12:38:48 +01:00
parent 69d0e63247
commit 3961e33ca1
Signed by: zedfrigg
GPG key ID: 3AFCC06481308BC6

View file

@ -6,50 +6,48 @@ with pkgs . kernelmaft ;
{ {
nixpkgs = { nixpkgs = {
overlays = [ overlays = [
( self : super : ( self : super : {
{ kernelmaft = {
kernelmaft = {
bookwyrm = callPackage ( bookwyrm = callPackage (
import ./bookwyrm.nix import ./bookwyrm.nix
) {} ;
python = {
bw-file-resubmit = callPackage (
import ./python3.11-bw-file-resubmit.nix
) {} ; ) {} ;
python = { django-imagekit = callPackage (
import ./python3.11-django-imagekit.nix
) {} ;
bw-file-resubmit = callPackage ( django-pgtrigger = callPackage (
import ./python3.11-bw-file-resubmit.nix import ./python3.11-django-pgtrigger.nix
) {} ; ) {} ;
django-imagekit = callPackage ( django-sass-processor = callPackage (
import ./python3.11-django-imagekit.nix import ./python3.11-django-sass-processor.nix
) {} ; ) {} ;
django-pgtrigger = callPackage ( s3-tar = callPackage (
import ./python3.11-django-pgtrigger.nix import ./python3.11-s3-tar.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 ) {} ;
# } ;
# } ;
} )
] ; ] ;
} ; } ;