desktop-file-utils: hardcode path to update-desktop-database
This is required for desktop-file-install to work correctly when used directly from the Nix store (i.e. when not in $PATH).
This commit is contained in:
parent
02d88b1ff1
commit
d290b2d733
|
@ -14,6 +14,11 @@ stdenv.mkDerivation rec {
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
buildInputs = [ glib libintl ];
|
buildInputs = [ glib libintl ];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace src/install.c \
|
||||||
|
--replace \"update-desktop-database\" \"$out/bin/update-desktop-database\"
|
||||||
|
'';
|
||||||
|
|
||||||
setupHook = ./setup-hook.sh;
|
setupHook = ./setup-hook.sh;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
Loading…
Reference in a new issue