server-configs/shared/sources/default.nix

29 lines
868 B
Nix
Raw Normal View History

2024-08-14 10:22:33 +00:00
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 = [
# tmp teeworlds fetchpatch to inject secrets
(pkgs.fetchpatch {
url = "https://github.com/NixOS/nixpkgs/pull/334590.patch";
sha256 = "sha256-5Uf/jLV0CJFbWyPmkpF4kEVISvoG+fujvTAFIR0a2ek=";
})
# stalwart-mail
2024-09-01 18:06:49 +00:00
# (pkgs.fetchpatch {
# url = "https://github.com/NixOS/nixpkgs/pull/333507.patch";
# sha256 = "sha256-HAbfKQRnOjdK/rJ5wuePw4hEVQoFz9N0YujxBxROGo0=";
# })
# element 1.11.76
(pkgs.fetchpatch {
2024-09-01 18:06:49 +00:00
url = "https://github.com/NixOS/nixpkgs/pull/337906.patch";
sha256 = "sha256-35ZTSIYmKmOcgQfWS+Ze6PdEHCaB2yn1q0/1nEt0Rh0=";
})
];
};
2024-08-14 10:22:33 +00:00
}