about summary refs log tree commit diff
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
parent5c45f341f168c722277bf0bf5330caff8b1bf7cd (diff)
downloadnixlib-756e69bf97c5170408b9511d57c04f4c772c458d.tar
nixlib-756e69bf97c5170408b9511d57c04f4c772c458d.tar.gz
nixlib-756e69bf97c5170408b9511d57c04f4c772c458d.tar.bz2
nixlib-756e69bf97c5170408b9511d57c04f4c772c458d.tar.lz
nixlib-756e69bf97c5170408b9511d57c04f4c772c458d.tar.xz
nixlib-756e69bf97c5170408b9511d57c04f4c772c458d.tar.zst
nixlib-756e69bf97c5170408b9511d57c04f4c772c458d.zip
syncthing: don't import from pkgs (#27029)
-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 e0ba43986e3e..f7fed7208e19 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 \