Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: b94da10c2727
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: b0ea683c920d
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Jul 31, 2017

  1. qdirstat: add script dependency

    gnidorah committed Jul 31, 2017
    Copy the full SHA
    499e36c View commit details
  2. Merge pull request #27801 from gnidorah/qdirstat

    qdirstat: add script dependency
    Mic92 authored Jul 31, 2017
    Copy the full SHA
    b0ea683 View commit details
Showing with 8 additions and 2 deletions.
  1. +8 −2 pkgs/applications/misc/qdirstat/default.nix
10 changes: 8 additions & 2 deletions pkgs/applications/misc/qdirstat/default.nix
Original file line number Diff line number Diff line change
@@ -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;