about summary refs log tree commit diff
path: root/pkgs/applications/networking/syncthing
diff options
context:
space:
mode:
authorvolth <volth@webmaster.ms>2017-07-02 00:50:59 +0000
committerJörg Thalheim <Mic92@users.noreply.github.com>2017-07-02 01:50:59 +0100
commit756e69bf97c5170408b9511d57c04f4c772c458d (patch)
treef5494086c35da4e622a9681feab32e03030f9c89 /pkgs/applications/networking/syncthing
parent5c45f341f168c722277bf0bf5330caff8b1bf7cd (diff)
syncthing: don't import from pkgs (#27029)
Diffstat (limited to 'pkgs/applications/networking/syncthing')
-rw-r--r--pkgs/applications/networking/syncthing/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/networking/syncthing/default.nix b/pkgs/applications/networking/syncthing/default.nix
index e0ba43986e3e8..f7fed7208e19c 100644
--- a/pkgs/applications/networking/syncthing/default.nix
+++ b/pkgs/applications/networking/syncthing/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, lib, fetchFromGitHub, go, pkgs, removeReferencesTo }:
+{ stdenv, lib, fetchFromGitHub, go, procps, removeReferencesTo }:
 
 stdenv.mkDerivation rec {
   version = "0.14.30";
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
   '' + lib.optionalString (stdenv.isLinux) ''
     substitute etc/linux-systemd/system/syncthing-resume.service \
                $out/lib/systemd/system/syncthing-resume.service \
-               --replace /usr/bin/pkill ${pkgs.procps}/bin/pkill
+               --replace /usr/bin/pkill ${procps}/bin/pkill
 
     substitute etc/linux-systemd/system/syncthing@.service \
                $out/lib/systemd/system/syncthing@.service \