mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-20 03:43:45 +00:00
Merge pull request #22012 from thanegill/patch-1
Fix syncthing-gtk hard coded paths
This commit is contained in:
commit
359ad7f6c0
@ -25264,9 +25264,11 @@ in {
|
||||
'';
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace "scripts/syncthing-gtk" \
|
||||
--replace "/usr/share" "$out/share"
|
||||
substituteInPlace setup.py --replace "version = get_version()" "version = '${version}'"
|
||||
substituteInPlace setup.py --replace "version = get_version()" "version = '${version}'"
|
||||
substituteInPlace scripts/syncthing-gtk --replace "/usr/share" "$out/share"
|
||||
substituteInPlace syncthing_gtk/app.py --replace "/usr/share" "$out/share"
|
||||
substituteInPlace syncthing_gtk/wizard.py --replace "/usr/share" "$out/share"
|
||||
substituteInPlace syncthing-gtk.desktop --replace "/usr/bin/syncthing-gtk" "$out/bin/syncthing-gtk"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
Loading…
Reference in New Issue
Block a user