2024-08-14 10:22:33 +00:00
|
|
|
let
|
|
|
|
sources = import ./sources.nix;
|
|
|
|
|
|
|
|
# declare pkgs from sources
|
|
|
|
pkgs = import sources.nixpkgs { };
|
|
|
|
in sources // {
|
2024-08-14 10:24:04 +00:00
|
|
|
nixpkgs = pkgs.applyPatches {
|
|
|
|
src = sources.nixpkgs;
|
|
|
|
name = "nixpkgs-patched";
|
|
|
|
patches = [
|
|
|
|
# tmp teeworlds fetchpatch to inject secrets
|
|
|
|
(pkgs.fetchpatch {
|
|
|
|
url = "https://github.com/NixOS/nixpkgs/pull/334590.patch";
|
|
|
|
sha256 = "sha256-5Uf/jLV0CJFbWyPmkpF4kEVISvoG+fujvTAFIR0a2ek=";
|
|
|
|
})
|
2024-08-21 11:20:54 +00:00
|
|
|
# stalwart-mail
|
|
|
|
(pkgs.fetchpatch {
|
|
|
|
url = "https://github.com/NixOS/nixpkgs/pull/333507.patch";
|
|
|
|
sha256 = "sha256-HAbfKQRnOjdK/rJ5wuePw4hEVQoFz9N0YujxBxROGo0=";
|
|
|
|
})
|
2024-08-14 10:24:04 +00:00
|
|
|
];
|
|
|
|
};
|
2024-08-14 10:22:33 +00:00
|
|
|
}
|