1

better overlays

This commit is contained in:
Motiejus Jakštys 2024-01-19 16:23:36 +02:00
parent f0a32ae9ae
commit 4c38af874c

View File

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