deepin.deepin-screenshot: search FHS hard coded paths (for debuging)
This commit is contained in:
parent
8db37160eb
commit
e4745e8363
@ -38,12 +38,17 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
searchHardCodedPaths
|
||||
patchShebangs generate_translations.sh
|
||||
fixPath ${deepin-turbo} /usr/bin/deepin-turbo-invoker src/dbusservice/com.deepin.Screenshot.service
|
||||
fixPath $out /usr/bin/deepin-screenshot src/dbusservice/com.deepin.Screenshot.service
|
||||
substituteInPlace src/mainwindow.cpp --replace '"xdg-open,%1"' '"${xdg_utils}/bin/xdg-open,%1"'
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
searchHardCodedPaths $out
|
||||
'';
|
||||
|
||||
passthru.updateScript = deepin.updateScript { inherit name; };
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user