forked from c3d2/nix-config
Add patch for nix to avoid rate limits
This commit is contained in:
parent
4ed53e3b0a
commit
351e0242f7
|
@ -50,6 +50,21 @@ with final; {
|
||||||
|
|
||||||
mlat-client = prev.python3Packages.callPackage ./mlat-client.nix { };
|
mlat-client = prev.python3Packages.callPackage ./mlat-client.nix { };
|
||||||
|
|
||||||
|
nixVersions =
|
||||||
|
let
|
||||||
|
in
|
||||||
|
prev.nixVersions // {
|
||||||
|
stable = prev.nixVersions.stable.overrideAttrs (oldAttrs: {
|
||||||
|
patches = oldAttrs.patches or [ ] ++ lib.optionals (lib.versionAtLeast prev.nixVersions.stable.version "2.9") [
|
||||||
|
# use github.com archive URL instead of api.github.com
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/NixOS/nix/pull/6997.patch";
|
||||||
|
sha256 = "sha256-JaQ6OY1RjxCYymkI/x0rmKH8XVXYs5psRwNJ4TPHPS0=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
pile = prev.callPackage ./pile.nix { };
|
pile = prev.callPackage ./pile.nix { };
|
||||||
|
|
||||||
pi-sensors = prev.callPackage ./pi-sensors { };
|
pi-sensors = prev.callPackage ./pi-sensors { };
|
||||||
|
|
Loading…
Reference in New Issue
Block a user