From 714377f8dc41e505b8039bae5870ce724a29da9a Mon Sep 17 00:00:00 2001 From: Timofey Lagutin Date: Fri, 5 Jun 2015 18:39:01 +0300 Subject: [PATCH] bittorrentsync: fix storage_path. If this path is a symlink, btsync won't be able to read it if it's not ending with "/". As seen in https://github.com/NixOS/nixpkgs/commit/f02d4ec9ed39694e04aa52937a9f73e217aff7f8 Broken in https://github.com/NixOS/nixpkgs/commit/0539ed477151a3adfff5012cabff0527a9a8c0bb --- nixos/modules/services/networking/btsync.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/services/networking/btsync.nix b/nixos/modules/services/networking/btsync.nix index d0123b79e3f8..bd7a5bcebe68 100644 --- a/nixos/modules/services/networking/btsync.nix +++ b/nixos/modules/services/networking/btsync.nix @@ -208,8 +208,8 @@ in storagePath = mkOption { type = types.path; - default = "/var/lib/btsync"; - example = "/var/lib/btsync"; + default = "/var/lib/btsync/"; + example = "/var/lib/btsync/"; description = '' Where to store the bittorrent sync files. '';