summary refs log tree commit diff
path: root/pkgs/applications/networking/bittorrentsync/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/networking/bittorrentsync/default.nix')
-rw-r--r--pkgs/applications/networking/bittorrentsync/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/networking/bittorrentsync/default.nix b/pkgs/applications/networking/bittorrentsync/default.nix
index abb94a32bd7..989ceb235b0 100644
--- a/pkgs/applications/networking/bittorrentsync/default.nix
+++ b/pkgs/applications/networking/bittorrentsync/default.nix
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
   buildInputs = [ patchelf ];
 
   installPhase = ''
-    ensureDir "$out/bin/"
+    mkdir -p "$out/bin/"
     cp -r "btsync" "$out/bin/"
 
     patchelf --interpreter "$(cat $NIX_GCC/nix-support/dynamic-linker)" \