Nixpkgs version Stable (25.05) Steps to reproduce The fetchFromRepoOrCz function in pkgs/build-support/fetchrepoorcz/default.nix downloads sources from https://repo.or.cz/ Unfortunately, the site blocks connections from the UK due to the Online Safety act and redirects all requests to https://repo.or.cz/uk-blocked.html I noticed this while trying to build docutils from a UK-based build machine. The build error is nix log /nix/store/q9q3xki1m7miwk8p9dqb6wjlq8mg0m11-source.drv trying https://repo.or.cz/docutils.git/snapshot/docutils-0.21.2.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 242 100 242 0 0 331 0 --:--:-- --:--:-- --:--:-- 331 100 2517 100 2517 0 0 3275 0 --:--:-- --:--:-- --:--:-- 0 unpacking source archive /build/docutils-0.21.2.tar.gz gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now do not know how to unpack source archive /build/docutils-0.21.2.tar.gz In fact, if one runs curl -LO https://repo.or.cz/docutils.git/snapshot/docutils-0.21.2.tar.gz the resulting file will contain the data from https://repo.or.cz/uk-blocked.html which is not a valid gzip archive. I searched for issues mentioning fetchFromRepoOrCz but found none. A quick search with rg in the repository returns only 7 packages using the function: pkgs/by-name/wi/windowmaker/package.nix (declared but not used) pkgs/by-name/ti/tinycc/package.nix pkgs/applications/editors/vim/plugins/nvim-treesitter/generated.nix (declared but not used) pkgs/by-name/cd/cdimgtools/package.nix pkgs/by-name/sy/syslinux/package.nix pkgs/by-name/gl/glpng/package.nix pkgs/development/python-modules/docutils/default.nix Can Hydra reproduce this build failure? No, Hydra cannot reproduce this build failure. Link to Hydra build job No response Relevant log output docutils on an i686 nix log /nix/store/q9q3xki1m7miwk8p9dqb6wjlq8mg0m11-source.drv trying https://repo.or.cz/docutils.git/snapshot/docutils-0.21....
First seen: 2025-10-10 17:32
Last seen: 2025-10-10 21:33