nix-packages/nixos-module.nix

57 lines
1.2 KiB
Nix
Raw Normal View History

2025-03-04 13:21:29 +01:00
{ pkgs , ... } :
2025-03-04 12:29:13 +01:00
with pkgs ;
{
imports = [
packages/bookwyrm/nixos-module.nix
] ;
nixpkgs = {
overlays = [
2025-03-04 12:38:48 +01:00
( self : super : {
kernelmaft = {
2025-03-04 12:38:48 +01:00
bookwyrm = callPackage (
2025-03-04 15:06:47 +01:00
import packages/bookwyrm/package.nix
2025-03-04 12:38:48 +01:00
) {} ;
2025-03-03 21:14:55 +01:00
2025-03-04 12:38:48 +01:00
python = {
2025-03-04 12:38:48 +01:00
bw-file-resubmit = callPackage (
2025-03-04 15:06:47 +01:00
import packages/python3.11-bw-file-resubmit/package.nix
2025-03-04 12:38:48 +01:00
) {} ;
2025-03-03 21:14:55 +01:00
2025-03-04 12:38:48 +01:00
django-imagekit = callPackage (
2025-03-04 15:06:47 +01:00
import packages/python3.11-django-imagekit/package.nix
2025-03-04 12:38:48 +01:00
) {} ;
2025-03-03 21:14:55 +01:00
2025-03-04 12:38:48 +01:00
django-pgtrigger = callPackage (
2025-03-04 15:06:47 +01:00
import packages/python3.11-django-pgtrigger/package.nix
2025-03-04 12:38:48 +01:00
) {} ;
2025-03-03 21:14:55 +01:00
2025-03-04 12:38:48 +01:00
django-sass-processor = callPackage (
2025-03-04 15:06:47 +01:00
import packages/python3.11-django-sass-processor/package.nix
2025-03-04 12:38:48 +01:00
) {} ;
2025-03-03 21:14:55 +01:00
2025-03-04 12:38:48 +01:00
s3-tar = callPackage (
2025-03-04 15:06:47 +01:00
import packages/python3.11-s3-tar/package.nix
2025-03-04 12:38:48 +01:00
) {} ;
2025-03-03 21:14:55 +01:00
} ;
2025-03-04 12:38:48 +01:00
} ;
# 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 ) {} ;
# } ;
# } ;
2025-03-04 12:38:48 +01:00
} )
] ;
} ;
}