reckon: add missing runtime dependency

The csv parser uses the command `file`, which is currently not
available. The link leads to the code in which the command is used:

974b3ebe2c/lib/reckon/csv_parser.rb (L277-L281)
This commit is contained in:
mosjek 2024-11-02 19:15:53 +01:00
parent fe83fcfbe8
commit 17c51d6906
No known key found for this signature in database
GPG Key ID: 3618FE8009F7DC51

View File

@ -1,4 +1,4 @@
{ stdenv, lib, bundlerEnv, bundlerUpdateScript, makeWrapper }:
{ stdenv, lib, bundlerEnv, bundlerUpdateScript, makeWrapper, file }:
stdenv.mkDerivation rec {
pname = "reckon";
@ -17,7 +17,8 @@ stdenv.mkDerivation rec {
in ''
runHook preInstall
mkdir -p $out/bin
makeWrapper ${env}/bin/reckon $out/bin/reckon
makeWrapper ${env}/bin/reckon $out/bin/reckon \
--prefix PATH : ${lib.makeBinPath [ file ]}
runHook postInstall
'';