deepin.dpa-ext-gnomekeyring: fix use of patchShebangs

This commit is contained in:
José Romildo Malaquias 2019-04-02 20:10:13 -03:00
parent a1bf396127
commit 644f8af0cd

View File

@ -17,6 +17,7 @@ stdenv.mkDerivation rec {
pkgconfig pkgconfig
qmake qmake
qttools qttools
deepin.setupHook
]; ];
buildInputs = [ buildInputs = [
@ -25,10 +26,9 @@ stdenv.mkDerivation rec {
]; ];
postPatch = '' postPatch = ''
patchShebangs . searchHardCodedPaths
patchShebangs translate_generation.sh
sed -i dpa-ext-gnomekeyring.pro gnomekeyringextention.cpp \ fixPath $out /usr dpa-ext-gnomekeyring.pro gnomekeyringextention.cpp
-e "s,/usr,$out,"
''; '';
passthru.updateScript = deepin.updateScript { inherit name; }; passthru.updateScript = deepin.updateScript { inherit name; };