mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-05 20:11:43 +03:00
Merge pull request #9452 from gfxmonk/tilda-exe-name
tilda: ensure wrapped executable is named "tilda"
This commit is contained in:
commit
cc92a493c6
@ -17,8 +17,12 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
LD_LIBRARY_PATH = "${expat}/lib"; # ugly hack for xgettext to work during build
|
LD_LIBRARY_PATH = "${expat}/lib"; # ugly hack for xgettext to work during build
|
||||||
|
|
||||||
|
# The config locking scheme relies on the binary being called "tilda",
|
||||||
|
# (`pgrep -C tilda`), so a simple `wrapProgram` won't suffice:
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
wrapProgram "$out/bin/tilda" \
|
mkdir $out/bin/wrapped
|
||||||
|
mv "$out/bin/tilda" "$out/bin/wrapped/tilda"
|
||||||
|
makeWrapper "$out/bin/wrapped/tilda" "$out/bin/tilda" \
|
||||||
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
|
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user