qdirstat: fix build

(#73511)
This commit is contained in:
Renaud 2019-11-16 19:27:03 +01:00 committed by GitHub
parent ef31491067
commit 2236fd4406
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,7 +19,7 @@ in mkDerivation rec {
buildInputs = [ perlPackages.perl ]; buildInputs = [ perlPackages.perl ];
preBuild = '' postPatch = ''
substituteInPlace scripts/scripts.pro \ substituteInPlace scripts/scripts.pro \
--replace /bin/true ${coreutils}/bin/true --replace /bin/true ${coreutils}/bin/true
@ -37,9 +37,8 @@ in mkDerivation rec {
substituteInPlace src/StdCleanup.cpp \ substituteInPlace src/StdCleanup.cpp \
--replace /bin/bash ${bash}/bin/bash --replace /bin/bash ${bash}/bin/bash
''; '';
postPatch = ''
export qmakeFlags="$qmakeFlags INSTALL_PREFIX=$out" qmakeFlags = [ "INSTALL_PREFIX=${placeholder "out"}" ];
'';
postInstall = '' postInstall = ''
wrapProgram $out/bin/qdirstat-cache-writer \ wrapProgram $out/bin/qdirstat-cache-writer \