From 71522f1ec2c94bef24bf02abeb04b017b56f4e41 Mon Sep 17 00:00:00 2001 From: Thomas Tuegel Date: Sat, 24 May 2014 21:04:18 -0500 Subject: [PATCH] ark: wrap for zipinfo --- pkgs/desktops/kde-4.12/kdeutils/ark.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/pkgs/desktops/kde-4.12/kdeutils/ark.nix b/pkgs/desktops/kde-4.12/kdeutils/ark.nix index eb3e12281d64..99844b909fd7 100644 --- a/pkgs/desktops/kde-4.12/kdeutils/ark.nix +++ b/pkgs/desktops/kde-4.12/kdeutils/ark.nix @@ -1,7 +1,15 @@ -{ kde, kdelibs, libarchive, bzip2, kde_baseapps, lzma, qjson }: +{ makeWrapper, kde, kdelibs, libarchive, bzip2, kde_baseapps, lzma, qjson +, unzip }: kde { - buildInputs = [ kdelibs kde_baseapps libarchive bzip2 lzma qjson ]; + buildInputs = [ + makeWrapper kdelibs kde_baseapps libarchive bzip2 lzma qjson + ]; + + postInstall = '' + wrapProgram $out/bin/ark \ + --prefix PATH ":" "${unzip}/bin" + ''; meta = { description = "KDE Archiving Tool";