1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 22:50:49 +00:00
nixpkgs/pkgs/tools/filesystems/bonnie
Pascal Bach 260f0e0c5c bonnie: fix bon_csv2txt utility
The bon_csv2txt utility is a perl script. By default it is looking forbonnie: fix bon_csv2txt utility

The bon_csv2txt utility is a perl script. By default it is looking for
perl in /usr/bin/perl which doesn't work on nixos.

This changes patches the perl interpreter correctly. But this comes as at a cost of
closure size increase from 34'006'536 bytes to  90'289'456 bytes as perl is now a dependency.

An alterantive would be to patch the file to use /usr/bin/env perl and just rely on a perl interpreter
being present in PATH.

perl in /usr/bin/perl which doesn't work on nixos.

This changes patches the perl interpreter correctly. But this comes as at a cost of
closure size increase as perl is now a dependency.

An alterantive would be to patch the file to use /usr/bin/env perl and just rely on a perl interpreter
being present in PATH.
2019-03-10 10:29:53 +01:00
..
default.nix bonnie: fix bon_csv2txt utility 2019-03-10 10:29:53 +01:00