mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
Merge pull request #333252 from dotlambda/git-annex
git-annex: fix executable path in desktop file
This commit is contained in:
commit
d83edf3126
1 changed files with 6 additions and 0 deletions
|
@ -428,6 +428,12 @@ self: super: {
|
|||
# (this should be possible by also taking PREFIX into account).
|
||||
./patches/git-annex-no-usr-prefix.patch
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile \
|
||||
--replace-fail 'InstallDesktopFile $(PREFIX)/bin/git-annex' \
|
||||
'InstallDesktopFile git-annex'
|
||||
'';
|
||||
}) super.git-annex;
|
||||
|
||||
# Too strict bounds on servant
|
||||
|
|
Loading…
Reference in a new issue