git.iko.soy/typeable/nixpkgs
on master help sign in
deepin.deepin-menu: fix more hard coded paths
commit13ccde5a96d26108262cccb02a97ebfc76b142a5 authorJosé Romildo Malaquias <malaquias@gmail.com> dateWed 3 Apr 2019, 00:40 (8 years ago) parent644f8af
1 file changed+6−1
pkgs/desktops/deepin/deepin-menu/default.nix+6−1
pkgs/desktops/deepin/deepin-menu/default.nix+6−1
@@ -16,6 +16,7 @@ stdenv.mkDerivation rec {
1616 nativeBuildInputs = [
1717 pkgconfig
1818 qmake
19+ deepin.setupHook
1920 ];
2021
2122 buildInputs = [
@@ -25,7 +26,11 @@ stdenv.mkDerivation rec {
2526 ];
2627
2728 postPatch = ''
28− sed -i deepin-menu.pro -e "s,/usr,$out,"
29+ searchHardCodedPaths
30+ fixPath $out /usr \
31+ data/com.deepin.menu.service \
32+ deepin-menu.desktop \
33+ deepin-menu.pro
2934 '';
3035
3136 enableParallelBuilding = true;