mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 21:32:23 +03:00
Merge pull request #27801 from gnidorah/qdirstat
qdirstat: add script dependency
This commit is contained in:
commit
b0ea683c92
@ -1,5 +1,6 @@
|
||||
{ stdenv, fetchFromGitHub, qmake
|
||||
, coreutils, xdg_utils, bash, perl }:
|
||||
, coreutils, xdg_utils, bash
|
||||
, perl, makeWrapper, perlPackages }:
|
||||
|
||||
let
|
||||
version = "1.4";
|
||||
@ -13,7 +14,7 @@ in stdenv.mkDerivation rec {
|
||||
sha256 = "1ppasbr0mq301q6n3rm0bsmprs7vgkcjmmc0gbgqpgw84nmp9fqh";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ qmake ];
|
||||
nativeBuildInputs = [ qmake makeWrapper ];
|
||||
|
||||
buildInputs = [ perl ];
|
||||
|
||||
@ -45,6 +46,11 @@ in stdenv.mkDerivation rec {
|
||||
--replace /bin/bash ${bash}/bin/bash
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/qdirstat-cache-writer \
|
||||
--set PERL5LIB "${stdenv.lib.makePerlPath [ perlPackages.URI ]}"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Graphical disk usage analyzer";
|
||||
homepage = src.meta.homepage;
|
||||
|
Loading…
Reference in New Issue
Block a user