deepin.deepin-menu: fix more hard coded paths
This commit is contained in:
parent
644f8af0cd
commit
13ccde5a96
1 changed files with 6 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue