Попробуйте:
Acquire ::http ::Proxy " https ://yourproxyaddress :proxyport ";
вместо
Acquire ::http ::Proxy " http ://yourproxyaddress :proxyport ";
Попробуйте это:
nix-store -q --requisites `nix-build --no-out-link '<nixpkgs>' -A vim` | sort -uf | xargs du -ch | tail -1
Мне также нравится смотреть на:
for p in /nix/var/nix/profiles/system* /nix/var/nix/profiles/per-user/$USER/profile*
do
echo -n $p" ⇒ "
nix-store -q --requisites $p | sort -uf | xargs du -ch | tail -1
done
Очевидно, что размер транзитивного замыкания производных сильно перекрывает (общие библиотеки и т. д. ), поэтому цифры всегда будут больше, чем общее использование пространства. Хотя все равно полезно.