35 lines
1,014 B
Nix
35 lines
1,014 B
Nix
let
|
|
sources = import ./sources.nix;
|
|
|
|
# declare pkgs from sources
|
|
pkgs = import sources.nixpkgs { };
|
|
in sources // {
|
|
nixpkgs = pkgs.applyPatches {
|
|
src = sources.nixpkgs;
|
|
name = "nixpkgs-patched";
|
|
patches = [
|
|
# stalwart-mail: 0.11.8 -> 0.12.0
|
|
(pkgs.fetchpatch {
|
|
url = "https://github.com/NixOS/nixpkgs/pull/409178.patch";
|
|
sha256 = "sha256-06J8pTjqeWTL6MJqVq17r3eelL5p/AfvUsPye5icVUg=";
|
|
})
|
|
# nixos/stalwart-mail: fix incorrect config for webadmin and spam-filter
|
|
(pkgs.fetchpatch {
|
|
url = "https://github.com/NixOS/nixpkgs/pull/412054.patch";
|
|
sha256 = "sha256-OExslGsrGGPWSJJFPkZgYV8DaPKq9YDlmozPf/bV6dE=";
|
|
})
|
|
];
|
|
};
|
|
|
|
# nixpkgs = pkgs.lib.cleanSource /state/home/projects/nixos/nixpkgs;
|
|
|
|
drasl = pkgs.applyPatches {
|
|
src = sources.drasl;
|
|
name = "drasl-patched";
|
|
patches = [
|
|
./../patches/drasl-flakes-nix-add-option-package.patch
|
|
./../patches/drasl-registration-oidc-env.patch
|
|
|
|
];
|
|
};
|
|
}
|