mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
gmtp: pass --datapath in the wrapper
gmtp gets somewhat confused trying to lookup some of its own assets when installed system-wide. It first attempts to locate the path to its own binary by searching for itself in $PATH, arrives at /run/current-system/sw/bin/gmtp, and then performs lookups relative to that path without dereferencing the symlink. Some of the lookups result in searching for, for example, icons in /run/current-system/sw/bin/../share/gmtp/ which doesn't exist.
This commit is contained in:
parent
d5f356374c
commit
38f7daebdb
1 changed files with 4 additions and 0 deletions
|
@ -17,6 +17,10 @@ stdenv.mkDerivation {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
preFixup = ''
|
||||
gappsWrapperArgs+=(--add-flags "--datapath \"$out/share\"");
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "A simple MP3 and Media player client for UNIX and UNIX like systems.";
|
||||
homepage = https://gmtp.sourceforge.io;
|
||||
|
|
Loading…
Reference in a new issue