Hi, On 25/06/14 08:06, Mateusz Kowalczyk wrote:
> [shana@lenalee:~]$ df | grep /dev/sdb1 > /dev/sdb1 51475068 39467668 9369576 81% / > > -- reload here > > [shana@lenalee:~]$ df | grep /dev/sdb1 > /dev/sdb1 51475068 39467684 9369560 81% / That's a 16 KB difference. It will take a long time to eat up 6 GB at that rate... > I suppose the question I'm asking is ‘is there a way to drop into an > existing nix-shell session?’. No. But the real question is: where is the disk space going? If you have an attribute like: src = ./.; in your expression, then the entire source directory will be copied to the Nix store every time you run nix-shell. If that's the case, you may want to use this hack: src = if lib.inNixShell then null else ./.; which prevents the source directory from being copied. -- Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/ _______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
