interesting. i'm also having problem with tmpfs ATM. seems to give 'permission denied' and after the first run of nix-build all others will fail.
On 16.12.2016 13:38, Azul wrote: > thanks, > > I ended up getting rid of tmpfs, causes more hassle than what it is worth > > On 14 December 2016 at 17:37, Joachim Schiele <[email protected] > <mailto:[email protected]>> wrote: > > On 13.12.2016 16:14, Azul wrote: > > Hey gang, > > > > Trying to do a nixos-rebuild where I added libreoffice to my list of > > packages failing due to lack of disk space. > > My /tmp is on tmpfs, so limited in disk space. > > > > I tried to set NIX_REMOTE="" and TMPDIR=/var/tmp/ but no joy, > > nixos-rebuild just tells me to sod off and does its own thing. > > > > is there a way to tell nixos-rebuild to use my TMPDIR settings ? > > > > azul > > > man nix-build > > lets to: > > TMPDIR > Use the specified directory to store temporary files. In > particular, this includes temporary build directories; these can > take up > substantial amounts of disk space. The default is /tmp. > > so: > > TMPDIR=/foo nix-build -A whatever > > should do the trick > > -- Joachim Schiele blog: http://lastlog.de/blog wiki: http://lastlog.de/wiki signal: 0160 7576 242 GPG: 6D8F75EE (key here: https://lastlog.de/blog/about.html)
signature.asc
Description: OpenPGP digital signature
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
