Merge 3cca4e91054a4d2bb5335feb19138362ce0fe417 into c5d895d164a878a60d4f2656a984987ee5c06aa4

This commit is contained in:
Siddarth Kumar 2026-05-28 11:24:19 +00:00 committed by GitHub
commit 26167ca3fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,7 +12,16 @@
"x86_64-darwin" "aarch64-darwin"
];
forAllSystems = nixpkgs.lib.genAttrs stableSystems;
pkgsFor = forAllSystems (system: import nixpkgs { inherit system; });
# crates.io's WAF returns 403 for the default `curl/X.Y.Z` User-Agent.
fetchurlUserAgentOverlay = final: prev: {
fetchurl = args: prev.fetchurl (args // {
curlOptsList = (args.curlOptsList or []) ++ [ "-A" "logos-storage-nix" ];
});
};
pkgsFor = forAllSystems (system: import nixpkgs {
inherit system;
overlays = [ fetchurlUserAgentOverlay ];
});
in
{
packages = forAllSystems (system: let