error: cannot download clean-env.patch from any mirror
idmyn opened this issue · 3 comments
idmyn commented
Hi, thanks for the repo!
I'm getting this error when I run nix-env -iA emacsGccDarwin -f https://github.com/twlz0ne/nix-gccemacs-darwin/archive/master.zip
(with and without cachix)
installing 'emacsGccDarwin'
these derivations will be built:
/nix/store/g0ynhhf074hiwcv6knv53xiadbsh4pqs-clean-env.patch.drv
/nix/store/ns3a8sxx39jwb11z97vk9pngv88lh5fb-source.drv
/nix/store/ng99x22w6h1x0qr68k4hz1ws18f9ciyl-emacsGccDarwin.drv
building '/nix/store/g0ynhhf074hiwcv6knv53xiadbsh4pqs-clean-env.patch.drv'...
building '/nix/store/ns3a8sxx39jwb11z97vk9pngv88lh5fb-source.drv'...
trying https://github.com/emacs-mirror/emacs/archive/a3f2373bfb604af5570c86b4ffefb23296a5bfdd.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
trying https://raw.githubusercontent.com/nix-community/emacs-overlay/master/patches/clean-env.patch
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 160 100 160 0 0 540 0 --:--:-- --:--:-- --:--:-- 538
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 404
error: cannot download clean-env.patch from any mirror
builder for '/nix/store/g0ynhhf074hiwcv6knv53xiadbsh4pqs-clean-env.patch.drv' failed with exit code 1
cannot build derivation '/nix/store/ng99x22w6h1x0qr68k4hz1ws18f9ciyl-emacsGccDarwin.drv': 1 dependencies couldn't be built
error: build of '/nix/store/ng99x22w6h1x0qr68k4hz1ws18f9ciyl-emacsGccDarwin.drv' failed
If I open https://github.com/emacs-mirror/emacs/archive/a3f2373bfb604af5570c86b4ffefb23296a5bfdd.tar.gz in my browser it prompts me for a download, but the second url returns 404 (https://raw.githubusercontent.com/nix-community/emacs-overlay/master/patches/clean-env.patch)
any ideas?
beyondpie commented
Face the same error on MacOS Big Sur. But MacOS Catalina works OK for me.
twlz0ne commented
The clean-env patch was deleted from upstream. I just commit a Fix, please try install again after an hour.