mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
26 lines
601 B
Nix
26 lines
601 B
Nix
{
|
|
inputs,
|
|
system ? builtins.currentSystem or "x86_64-linux",
|
|
...
|
|
}: let
|
|
pkgs = import inputs.nixpkgs {
|
|
inherit system;
|
|
config.allowUnfree = true;
|
|
};
|
|
in
|
|
inputs
|
|
// {
|
|
nixpkgs = pkgs.applyPatches {
|
|
name = "nixpkgs";
|
|
src = inputs.nixpkgs;
|
|
patches = [
|
|
# https://github.com/NixOS/nixpkgs/pull/275896
|
|
(pkgs.fetchpatch {
|
|
url = "https://github.com/NixOS/nixpkgs/pull/275896.patch";
|
|
sha256 = "sha256-boJLCdgamzX0fhLifdsxsFF/f7oXZwWJ7+WAkcA2GBg=";
|
|
})
|
|
];
|
|
} // {
|
|
inherit (inputs.nixpkgs) sourceInfo;
|
|
};
|
|
}
|