mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
syncthing: don't import from pkgs (#27029)
This commit is contained in:
parent
5c45f341f1
commit
756e69bf97
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user