3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/backup
rnhmjoj 61b7cab481
treewide: use perl.withPackages when possible
Since 03eaa48 added perl.withPackages, there is a canonical way to
create a perl interpreter from a list of libraries, for use in script
shebangs or generic build inputs. This method is declarative (what we
are doing is clear), produces short shebangs[1] and needs not to wrap
existing scripts.

Unfortunately there are a few exceptions that I've found:

  1. Scripts that are calling perl with the -T switch. This makes perl
  ignore PERL5LIB, which is what perl.withPackages is using to inform
  the interpreter of the library paths.

  2. Perl packages that depends on libraries in their own path. This
  is not possible because perl.withPackages works at build time. The
  workaround is to add `-I $out/${perl.libPrefix}` to the shebang.

In all other cases I propose to switch to perl.withPackages.

[1]: https://lwn.net/Articles/779997/
2021-03-31 21:35:37 +02:00
..
automysqlbackup
bacula remove myself from a bunch of software I no longer use/maintain 2021-03-03 10:50:26 +00:00
bareos
bdsync
borgbackup borgbackup: rename directory to borgbackup (#118073) 2021-03-30 16:48:27 +02:00
borgmatic borgmatic: init at 1.5.12 2021-03-04 13:01:03 +08:00
btar
btrbk btrbk: remove unused input 2021-02-23 15:58:34 +01:00
bup Update pkgs/tools/backup/bup/default.nix 2021-02-22 23:18:24 +01:00
bupstash bupstash: 0.7.0 -> 0.8.0 2021-03-24 22:18:44 +01:00
burp
chunksync
dar dar: 2.6.13 -> 2.6.14 2021-03-20 22:42:39 -07:00
ddar
dedup
dirvish
diskrsync treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
dump dump: 0.4b46 -> 0.4b47 2021-02-04 07:51:57 +00:00
duplicacy treewide: add final newline 2021-01-22 07:40:43 +10:00
duplicati treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
duplicity Merge pull request #108176 from StephenWithPH/duplicity-0.8.17 2021-01-31 19:40:39 +01:00
duply treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
easysnap
flockit
grab-site treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
hpe-ltfs treewide: editorconfig fixes 2021-01-20 09:11:11 +10:00
httrack treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
iceshelf treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
kopia
luckybackup treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
lvmsync treewide: add final newline 2021-01-22 07:18:04 +10:00
monolith monolith: 2.4.0 -> 2.4.1 2021-03-15 03:48:37 -04:00
mt-st
mtx
mydumper treewide: fix double quoted strings in meta.description 2021-01-24 19:56:59 +07:00
ori treewide: editorconfig fixes 2021-01-20 09:11:11 +10:00
partclone
partimage
percona-xtrabackup
pyznap
rdedup
rdiff-backup treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
rdup
restic restic: 0.11.0 -> 0.12.0 (#114329) 2021-02-25 23:00:20 +01:00
rotate-backups
rsbep rsbep: 0.1.0 -> 0.2.0 2021-03-20 22:23:57 +01:00
rsnapshot
s3ql treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
sanoid sanoid: remove unused input 2021-02-18 00:00:44 +01:00
stenc stenc: 1.0.7 -> 1.0.8 2021-01-21 20:49:15 +01:00
store-backup treewide: use perl.withPackages when possible 2021-03-31 21:35:37 +02:00
tarsnap
tarsnapper
tsm-client
ugarit treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
ugarit-manifest-maker treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
wal-e treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
wal-g wal-g: enable support for brotli compression 2021-03-01 17:13:55 +01:00
zbackup
zfs-prune-snapshots
zfs-replicate treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
zfsbackup
zfsnap
znapzend treewide: use perl.withPackages when possible 2021-03-31 21:35:37 +02:00
zrepl zrepl: init at 0.3.1. 2021-02-17 20:18:30 -08:00