!SgYlXivkogarTVcnZO:nixos.org

Nix Flakes

883 Members
180 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
9 May 2025
@fionnafire:matrix.org@fionnafire:matrix.org joined the room.03:23:08
10 May 2025
@headb:edwardh.devEdward Hesketh joined the room.19:44:36
@strutztm:strutztm.de@strutztm:strutztm.de left the room.19:53:11
@headb:edwardh.devEdward Hesketh changed their display name from headb to Edward Hesketh.23:32:18
12 May 2025
@gsaurel:laas.frnim65s

I have a bunch of eg.

    inputs.patch-arsenik = {
      url = "https://patch-diff.githubusercontent.com/raw/NixOS/nixpkgs/pull/386205.patch";
      flake = false;
    };

in the flake for my systems, applied with patchedNixpkgs = inputs.nixpkgs.legacyPackages.x86_64-linux.applyPatches { src = inputs.nixpkgs; patches = [ inputs.patch-arsenik ]; };, for some of my PRs I want in my pkgs but are not merged. This allow to have up-to-date patches with low effort.

But recently, github rate limits have been hitting me on like 100% of my nix flake update. Anybody has a workaround ?

16:35:42
@gsaurel:laas.frnim65s If I could set an access token on githubusercontent, it would work (eg. as in curl "https://patch-diff.githubusercontent.com/raw/NixOS/nixpkgs/pull/386205.patch?access_token=$GITHUB_TOKEN"), but I have no idea how to configure that without exposing the token directly in my flake.nix, which is a public file 16:39:36
@gsaurel:laas.frnim65s *

I have a bunch of eg.

    inputs.patch-arsenik = {
      url = "https://patch-diff.githubusercontent.com/raw/NixOS/nixpkgs/pull/386205.patch";
      flake = false;
    };

in the flake for my systems, applied with patchedNixpkgs = inputs.nixpkgs.legacyPackages.x86_64-linux.applyPatches { src = inputs.nixpkgs; patches = [ inputs.patch-arsenik ]; };, for some PRs I want in my pkgs but are not merged. This allow to have up-to-date patches with low effort.

But recently, github rate limits have been hitting me on like 100% of my nix flake update. Anybody has a workaround ?

16:41:03

Show newer messages


Back to Room ListRoom Version: 6