Hi,
Hoping this is the right place. I got the feeling that tarballs.nixos.org
was not getting updated, and after some searching I have noticed this line:
#
# Note: this service expects AWS credentials for uploading to
# s3://nixpkgs-tarballs in /home/tarball-mirror/.aws/credentials.
{ config, lib, pkgs, ... }:
with lib;
let
nixosRelease = "19.09";
in
{
users.extraUsers.tarball-mirror =
{ description = "Nixpkgs tarball mirroring user";
home = "/home/tarball-mirror";
isNormalUser = true;
};
Does that mean that the tarballs haven’t been updated since 19.09, by any chance? Shouldn’t this be updated at every release?
Related: Auto-maintaining of hashed mirrors .
1 Like
vcunat
June 16, 2021, 7:14am
2
Yes, I think you’re right. Also it’s pulling from a repo that’s not updated anymore (git://github.com/NixOS/nixpkgs-channels.git
)
I’d probably file an issue , but let’s wait here for some time.
Using nixos-unstable channel would avoid this maintenance, but I expect the point was to reduce the uploaded amount a bit.
3 Likes
vcunat
July 27, 2021, 8:31pm
3
I believe this is fixed now (for 21.05). I checked a new tarball by
nix-build -A somePackage.src --check
# checking outputs of [...]
# trying http://tarballs.nixos.org/sha256/[...]
1 Like
Indeed! Thanks for pointing out --check
. I just did a test myself on texlive and it’s fetching from tarballs.nixos.org . Good news.
#
# Note: this service expects AWS credentials for uploading to
# s3://nixpkgs-tarballs in /home/tarball-mirror/.aws/credentials.
{ config, lib, pkgs, ... }:
with lib;
let
nixosRelease = "21.05";
in
{
users.extraUsers.tarball-mirror =
{ description = "Nixpkgs tarball mirroring user";
home = "/home/tarball-mirror";
isNormalUser = true;
};
does this need bumping again?
vcunat
March 27, 2023, 8:08am
6
I incidentally moved the thing further , but the indicated problem isn’t the only one. Now there’s some issue around AWS credentials. I have no knowledge about such things so I had just asked others in but got no reaction so far.
1 Like
vcunat
January 28, 2024, 8:26am
7
It seems to be working now, 23.11