Open
Description
We'd like to keep our build size under 1.5 GB because the build shares a volume with the user's data dir and detracts from the max user data that can be restored without resizing the disk.
To keep an eye on it lets create a test in CI to confirm that the linux aarch64 build stays under that size
Full size
nix build .#psql_15/bin
nix path-info --closure-size --human-readable ./result
Returns
/nix/store/x2xqpdhbq4v3lif0gvd7q0rbp086n55q-postgresql-and-plugins-15.8 1.2 GiB
Size of each build artifact
nix path-info --closure-size --human-readable --recursive ./result | sort -h -r -k2 | head -n 30
Returns
/nix/store/8jpkl4nm2jm78p9nwy3i271wmwmhfajn-brotli-1.1.0-lib 955.6 KiB
/nix/store/8pn8xfb6vfn4va6ngv5vkyskd5xrg1b1-plv8-3.1.10 836.2 MiB
/nix/store/fgs4qpkwf3f7fpdic053pbcikhis3rw5-postgresql-15.8-man 760.1 KiB
/nix/store/jdicjbm9vmzi5kc8k6w8jwa82s00wqbc-pgsodium-3.1.8 687.9 KiB
/nix/store/r9fiapf6wb9lgr9qzbfh60nagp3w9xcm-ncurses-6.4-man 597.8 KiB
/nix/store/9wjp76v3317dznf2ff2jmr8cqx46yx3x-lz4-1.9.4-dev 565.7 KiB
/nix/store/4s2s478cgc19jclm1zg2anjd0kh549nb-clang-16.0.6-lib 559.8 MiB
/nix/store/r4zrav8cipgx4h83hfg4fhqj5hz278wc-rum-1.3.13 487.6 KiB
/nix/store/wpxcjfz0nrhlmxby4l2zrpqnjaipmayi-zlib-1.3.1-dev 479.4 KiB
/nix/store/bjjis0ysndqxzafg77k8p1vhfw36f7zn-libdeflate-1.19 410.5 KiB
...