Found the answers myself in http://nixos.org/nix/manual/
"For most users, building from source is not very pleasant as it takes far too long. However, Nix can automatically skip building from source and instead use a binary cache, a web server that provides pre-built binaries. For instance, when asked to build /nix/store/b6gvzjyb2pg0?-firefox-33.1 from source, Nix would first check if the file https://cache.nixos.org/b6gvzjyb2pg0?.narinfo exists, and if so, fetch the pre-built binary referenced from there; otherwise, it would fall back to building from source." (Chapter 1. About Nix - Transparent source/binary deployment - Introduction)
One can upload it's own builds to https://cache.nixos.org/ to other people use. (Chapter 13. Sharing Packages Between Machines)
To think of: can you imagine the size of https://cache.nixos.org/ with a big number of users uploading binaries?
"For most users, building from source is not very pleasant as it takes far too long. However, Nix can automatically skip building from source and instead use a binary cache, a web server that provides pre-built binaries. For instance, when asked to build /nix/store/b6gvzjyb2pg0?-firefox-33.1 from source, Nix would first check if the file https://cache.nixos.org/b6gvzjyb2pg0?.narinfo exists, and if so, fetch the pre-built binary referenced from there; otherwise, it would fall back to building from source." (Chapter 1. About Nix - Transparent source/binary deployment - Introduction)
One can upload it's own builds to https://cache.nixos.org/ to other people use. (Chapter 13. Sharing Packages Between Machines)
To think of: can you imagine the size of https://cache.nixos.org/ with a big number of users uploading binaries?
Comment