server-configs/shared/sources/default.nix

19 lines
466 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-kP5wYYxR+sSGBla9d4+iGUu1SHA4q2UkLuebhZUhAxo=";
})
];
};
2024-08-14 10:22:33 +00:00
}