-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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 Is it easy enough? -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJLV13lAAoJEE6tnN0aWvw3qZMH+QG+IYaveb7s2Hx2fJQYGGxv 2wD+BdUFlmTn3qabpPSv9X5EGBs9SfRjL8g6IfZWIbyvnvmpoxCZCMOHovDACkAx 9qnqpZZ1UsZ9EArvssv1tZwmCUxv/fLYfvepEO+aSCQcruV8sTP8z7G5E5un5VR6 O4PgLu6TlPmssKkFVh2KuDTf9FfDdBdCyosTNZRIokeTMcsCyEwabpgalQ642Bh5 vetDI5lpi5ZBXZ3I2+sIuNeGakcamk0024gtKTsqhhz5tQHP9wNPxY5gr1P+pg5J Jr5E02/NBIuuyBgYPqsUHdFUz93UfqSfuxLagsL0ZW0g0I3lEwIT3CmPJJ1sHuA= =mxwW -----END PGP SIGNATURE----- _______________________________________________ nix-dev mailing list [email protected] https://mail.cs.uu.nl/mailman/listinfo/nix-dev
