From 17c51d69065ab8fc438e23b049ccfa968eb70c9a Mon Sep 17 00:00:00 2001 From: mosjek Date: Sat, 2 Nov 2024 19:15:53 +0100 Subject: [PATCH] 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: https://github.com/cantino/reckon/blob/974b3ebe2cc46ce90e0e2da110ab19eeb2516bc8/lib/reckon/csv_parser.rb#L277-L281 --- pkgs/tools/text/reckon/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/text/reckon/default.nix b/pkgs/tools/text/reckon/default.nix index 55c6b3cf9556..ccaaad0c4581 100644 --- a/pkgs/tools/text/reckon/default.nix +++ b/pkgs/tools/text/reckon/default.nix @@ -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 '';