about summary refs log tree commit diff
path: root/pkgs/top-level
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2017-01-24 17:42:41 +0000
committerGitHub <noreply@github.com>2017-01-24 17:42:40 +0000
commit359ad7f6c0d533c7f1330dbda0aeec14776daebc (patch)
treebf96d1ecdce61aac45d1c9ba0c9031548e9deccb /pkgs/top-level
parentca8ab806bb159b4e60f0adaf4a10abbad3b7ae77 (diff)
parentbdd5b81f565619efd4bccf634fd69b716309969f (diff)
downloadnixlib-359ad7f6c0d533c7f1330dbda0aeec14776daebc.tar
nixlib-359ad7f6c0d533c7f1330dbda0aeec14776daebc.tar.gz
nixlib-359ad7f6c0d533c7f1330dbda0aeec14776daebc.tar.bz2
nixlib-359ad7f6c0d533c7f1330dbda0aeec14776daebc.tar.lz
nixlib-359ad7f6c0d533c7f1330dbda0aeec14776daebc.tar.xz
nixlib-359ad7f6c0d533c7f1330dbda0aeec14776daebc.tar.zst
nixlib-359ad7f6c0d533c7f1330dbda0aeec14776daebc.zip
Merge pull request #22012 from thanegill/patch-1
Fix syncthing-gtk hard coded paths
Diffstat (limited to 'pkgs/top-level')
-rw-r--r--pkgs/top-level/python-packages.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index ffb1aefdd336..d6456c13645a 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -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 = {