nix-super/perl/lib/Nix
Eelco Dolstra dbe1b51580 Add setting to warn about copying/hashing large paths
This is useful for diagnosing whether an evaluation is copying large
paths to the store. Example:

   $ nix build .#packages.x86_64-linux.default --large-path-warning-threshold 1000000
   warning: copied large path '/home/eelco/Dev/nix-master/' to the store (6271792 bytes)
   warning: copied large path '«github:NixOS/nixpkgs/b550fe4b4776908ac2a861124307045f8e717c8e?narHash=sha256-7kkJQd4rZ%2BvFrzWu8sTRtta5D1kBG0LSRYAfhtmMlSo%3D»/' to the store (155263768 bytes)
   warning: copied large path '«github:libgit2/libgit2/45fd9ed7ae1a9b74b957ef4f337bc3c8b3df01b5?narHash=sha256-oX4Z3S9WtJlwvj0uH9HlYcWv%2Bx1hqp8mhXl7HsLu2f0%3D»/' to the store (22175416 bytes)
   warning: copied large path '/nix/store/z985088mcd6w23qwdlirsinnyzayagki-source' to the store (5885872 bytes)
2024-05-13 11:52:27 +02:00
..
Config.pm.in Add missing Nix::Store import to fix nix-serve StoreDir. 2021-11-23 12:56:19 +00:00
CopyClosure.pm Replace Unicode quotes in user-facing strings by ASCII 2017-07-30 12:32:45 +01:00
Manifest.pm Replace Unicode quotes in user-facing strings by ASCII 2017-07-30 12:32:45 +01:00
meson.build perl: Rewrite build system using Meson 2024-04-25 16:20:03 -04:00
SSH.pm Replace Unicode quotes in user-facing strings by ASCII 2017-07-30 12:32:45 +01:00
Store.pm Support arbitrary stores in Perl bindings 2024-02-07 22:31:58 -05:00
Store.xs Add setting to warn about copying/hashing large paths 2024-05-13 11:52:27 +02:00
Utils.pm Replace Unicode quotes in user-facing strings by ASCII 2017-07-30 12:32:45 +01:00