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

View file

@ -16,6 +16,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
pkgconfig
qmake
deepin.setupHook
];
buildInputs = [
@ -25,7 +26,11 @@ stdenv.mkDerivation rec {
];
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;