deepin.deepin-menu: fix more hard coded paths

This commit is contained in:
José Romildo Malaquias 2019-04-03 00:40:20 -03:00
parent 644f8af0cd
commit 13ccde5a96
1 changed files with 6 additions and 1 deletions

View File

@ -16,6 +16,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ nativeBuildInputs = [
pkgconfig pkgconfig
qmake qmake
deepin.setupHook
]; ];
buildInputs = [ buildInputs = [
@ -25,7 +26,11 @@ stdenv.mkDerivation rec {
]; ];
postPatch = '' postPatch = ''
sed -i deepin-menu.pro -e "s,/usr,$out," searchHardCodedPaths
fixPath $out /usr \
data/com.deepin.menu.service \
deepin-menu.desktop \
deepin-menu.pro
''; '';
enableParallelBuilding = true; enableParallelBuilding = true;