mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
Merge pull request #126527 from deviant/hardcode-update-desktop-database
desktop-file-utils: hardcode path to update-desktop-database
This commit is contained in:
commit
21c5430566
1 changed files with 5 additions and 0 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue