Closed andreas-roehler closed 6 years ago
It's because Nix puts the entire NAR file in memory (as a std::string
) when fetching something, and GHC is quite big. Short of modifying Nix, the only solution is to add a swapfile or swap partition to your machine.
Please let me know if that fixes it so that I can close this issue.
Exist around 2GB swap-partition. Same result after installing swapspace - some dynamic swap-extension. When reflecting NIX offers no pre-build packages neither for Debian nor Ubuntu assume more serious issues. Maybe there is a generic way to install eqsat?
Brought to Nix, closing here.
When running
nix-build ./default.nix --no-out-link -Q
it stops sayingBeing at Xubuntu, Linux somename 4.4.0-127-generic #153-Ubuntu SMP Sat May 19 10:58:46 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux