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