server-configs/shared/sources/default.nix

23 lines
732 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 = [
# tmp - lldap: 0.5.1-unstable-2024-08-09 -> 0.5.1-unstable-2024-10-30
(pkgs.fetchpatch {
url = "https://github.com/NixOS/nixpkgs/pull/352840.patch";
sha256 = "sha256-O4zxn4AgUrggCkqUEkmVsUAbMTL/Jhki6Q+j1mhHWLw=";
})
# tmp - stalwart-mail.webadmin: pin wasm-bindgen-cli version
(pkgs.fetchpatch {
url = "https://github.com/NixOS/nixpkgs/pull/353360.patch";
sha256 = "sha256-WPNnvVmtySyEk58kVIYWVx3VN8MhX4v2ITLLnUGhpz4=";
})
];
};
}