Hi,

Michael Raskin wrote:

> Lluís Batlle wrote:
>> some days ago niksnut talked about "the size of the stdenv closure".
>> How can I get the size of a closure, containing all its dependencies?
>> I have not found any easy way, and I imagine there may be such.
> 
> nix-store -qR /nix/store/path | xargs du -s | cut -f 1 | xargs | sed -e
> 's/ /+/' | bc

Even simpler: du -sch $(nix-store -qR $path)

-- 
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/
_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to