deepin.deepin-menu: fix more hard coded paths
This commit is contained in:
parent
644f8af0cd
commit
13ccde5a96
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue