Merge pull request #126527 from deviant/hardcode-update-desktop-database

desktop-file-utils: hardcode path to update-desktop-database
This commit is contained in:
edef 2021-06-21 08:14:49 +00:00 committed by GitHub
commit 21c5430566
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,6 +14,11 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkg-config ];
buildInputs = [ glib libintl ];
postPatch = ''
substituteInPlace src/install.c \
--replace \"update-desktop-database\" \"$out/bin/update-desktop-database\"
'';
setupHook = ./setup-hook.sh;
meta = {