1
Fork 0

better overlays

This commit is contained in:
Motiejus Jakštys 2024-01-19 16:23:36 +02:00
parent f0a32ae9ae
commit 4c38af874c
1 changed files with 18 additions and 20 deletions

View File

@ -2,24 +2,22 @@
nixpkgs,
system,
geoip2-tarball,
}: let
pkgs = import nixpkgs {
inherit system;
overlays = [
(_: super: {
python3 = super.python3.override {
packageOverrides = _: python-super: {
django = python-super.django_5;
};
}:
import nixpkgs {
inherit system;
overlays = [
(_: super: {
python3 = super.python3.override {
packageOverrides = _: python-super: {
django = python-super.django_5;
};
geoip-mmdb = pkgs.callPackage ./pkgs/geoip-mmdb.nix {
inherit geoip2-tarball;
};
e11sync-static = pkgs.callPackage ./pkgs/e11sync-static.nix {};
e11sync-frontend = pkgs.callPackage ./pkgs/e11sync-frontend.nix {};
e11sync-backend = pkgs.callPackage ./pkgs/e11sync-backend.nix {};
})
];
};
in
pkgs
};
geoip-mmdb = super.callPackage ./pkgs/geoip-mmdb.nix {
inherit geoip2-tarball;
};
e11sync-static = super.callPackage ./pkgs/e11sync-static.nix {};
e11sync-frontend = super.callPackage ./pkgs/e11sync-frontend.nix {};
e11sync-backend = super.callPackage ./pkgs/e11sync-backend.nix {};
})
];
}