SimulaVR / Simula

Linux VR Desktop
MIT License
2.91k stars 87 forks source link

Simula fresh install is both copying binaries from cachix *and* building them #140

Closed georgewsinger closed 3 years ago

georgewsinger commented 3 years ago

Notice how we're fetching things from cachix but building them anway:

$ time installSimula
/home/george/.nix-profile/bin/nix
nix already installed..
/home/george/.nix-profile/bin/cachix
cachix already installed..
Configured https://simula.cachix.org binary cache in /home/george/.config/nix/nix.conf

Message from Simula Contributors.
=================================

In order to show project funders that Simula is useful, 
we anonymously collect the following data:

- Session length
- Number of windows active
- Error logs on crashes

trace: Warning: `stdenv.lib` is deprecated and will be removed in the next release. Please use `lib` instead. For more information see https://github.com/NixOS/nixpkgs/issues/108938
warning: dumping very large path (> 256 MiB); this may run out of memory
these derivations will be built:
  /nix/store/angm2mxq5xr1iiqa9lb8k86l5jhqakrc-pernosco_submit.drv
  /nix/store/rx82rs5dnkkg8642f9782mafrz2s74ri-xwayland-21.1.1.drv
  /nix/store/q5bzh9hh9jahm0mk0h5ynjbk45wrzs37-godot-3.2.drv
  /nix/store/6pvykji3cfspkxs4p1jnsib3p5ddp8ns-Simula.drv
these paths will be fetched (13.30 MiB download, 186.02 MiB unpacked):
  /nix/store/00hsd5gy98lzilgmg21awgd8zk1xq29v-libXpm-3.5.13-dev
  /nix/store/11kmrs7ag6qkqsylpawn0p33rkhl724v-libXmu-1.1.3-dev
  /nix/store/5qj61755x5sx39wlg9a5icnxak0w8p0j-xz-5.2.5-dev
  /nix/store/79czdjb9vyzw7ipb0j9bsry839s443yy-libXpm-3.5.13
  /nix/store/7bxs2s63p5kprfzl1m2n77wq1hx574n0-egl-wayland-1.1.4-dev
  /nix/store/941z1sb5j3cm4lsn5gi5ws00m21kgrln-godot-haskell-3.1.0.0
  /nix/store/c9hbyc7prvgzi6ha3sygwjfdq6h9ywik-libXaw-1.0.13-dev
  /nix/store/fhcmc888cpadgb97z945wr5pv1av2h3x-libXaw-1.0.13
  /nix/store/fpsqs1sl47qlprjgr5bg88dw78l925g7-libXpm-3.5.13-bin
  /nix/store/lfqf1xinln724zwy7h329xrp2v5pl7ic-libXres-1.2.0-dev
  /nix/store/n6zkxy9l17gv3y4kmsfpg0x7vc0pa6b8-godot-haskell-plugin-0.1.0.0
  /nix/store/nc3jxn9cifi50dq31d0p723pf75vmgnz-libunwind-1.4.0-dev
  /nix/store/ph2pvvc8682qdahhbnqnlrlkpvxck04k-egl-wayland-1.1.4
  /nix/store/yxscgcvx75k3avj2w1gs94c66iz5kp6r-libXres-1.2.0
building '/nix/store/angm2mxq5xr1iiqa9lb8k86l5jhqakrc-pernosco_submit.drv'...
copying path '/nix/store/jgd1c46qmp49yi501xmdbk2wsg7b526v-godot-3.2' from 'https://simula.cachix.org'...
copying path '/nix/store/941z1sb5j3cm4lsn5gi5ws00m21kgrln-godot-haskell-3.1.0.0' from 'https://simula.cachix.org'...
copying path '/nix/store/ph2pvvc8682qdahhbnqnlrlkpvxck04k-egl-wayland-1.1.4' from 'https://cache.nixos.org'...
copying path '/nix/store/n6zkxy9l17gv3y4kmsfpg0x7vc0pa6b8-godot-haskell-plugin-0.1.0.0' from 'https://simula.cachix.org'...
copying path '/nix/store/7bxs2s63p5kprfzl1m2n77wq1hx574n0-egl-wayland-1.1.4-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/11kmrs7ag6qkqsylpawn0p33rkhl724v-libXmu-1.1.3-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/79czdjb9vyzw7ipb0j9bsry839s443yy-libXpm-3.5.13' from 'https://cache.nixos.org'...
copying path '/nix/store/yxscgcvx75k3avj2w1gs94c66iz5kp6r-libXres-1.2.0' from 'https://cache.nixos.org'...
copying path '/nix/store/fhcmc888cpadgb97z945wr5pv1av2h3x-libXaw-1.0.13' from 'https://cache.nixos.org'...
copying path '/nix/store/fpsqs1sl47qlprjgr5bg88dw78l925g7-libXpm-3.5.13-bin' from 'https://cache.nixos.org'...
copying path '/nix/store/c9hbyc7prvgzi6ha3sygwjfdq6h9ywik-libXaw-1.0.13-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/00hsd5gy98lzilgmg21awgd8zk1xq29v-libXpm-3.5.13-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/lfqf1xinln724zwy7h329xrp2v5pl7ic-libXres-1.2.0-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/5qj61755x5sx39wlg9a5icnxak0w8p0j-xz-5.2.5-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/nc3jxn9cifi50dq31d0p723pf75vmgnz-libunwind-1.4.0-dev' from 'https://cache.nixos.org'...
building '/nix/store/rx82rs5dnkkg8642f9782mafrz2s74ri-xwayland-21.1.1.drv'...
building '/nix/store/q5bzh9hh9jahm0mk0h5ynjbk45wrzs37-godot-3.2.drv'...
building '/nix/store/6pvykji3cfspkxs4p1jnsib3p5ddp8ns-Simula.drv'...
/nix/store/3cswm9crylj775229yvi9h73j7cqj9m6-Simula
/home/george/SimulaMasterTest

real    30m38.601s
user    134m24.554s
sys 7m41.125s

See here for full build output.

georgewsinger commented 3 years ago

This might be a transient issue with cachix that has gone away. I just tested pushing to cachix & installing each Simula commit going all the way back a few weeks, and was able to get successful cachix downloads in all but one case (after which I retried again, and cachix worked).