summary refs log tree commit diff
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2017-01-26 02:44:05 +0100
committerRobin Gloster <mail@glob.in>2017-01-26 02:44:05 +0100
commit5de731c8536d39ebc3638a6c210e4a040f568d07 (patch)
tree905779f1f8019fe9b6c3b0f91b108bf9aa567cd4
parent1294909c2ae2389135228e5cab6522daefc734ab (diff)
downloadnixlib-5de731c8536d39ebc3638a6c210e4a040f568d07.tar
nixlib-5de731c8536d39ebc3638a6c210e4a040f568d07.tar.gz
nixlib-5de731c8536d39ebc3638a6c210e4a040f568d07.tar.bz2
nixlib-5de731c8536d39ebc3638a6c210e4a040f568d07.tar.lz
nixlib-5de731c8536d39ebc3638a6c210e4a040f568d07.tar.xz
nixlib-5de731c8536d39ebc3638a6c210e4a040f568d07.tar.zst
nixlib-5de731c8536d39ebc3638a6c210e4a040f568d07.zip
tests.bittorrent: use a file instead of a directory
nixUnstable.src is a directory, which made cp fail without -r
-rw-r--r--nixos/tests/bittorrent.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/bittorrent.nix b/nixos/tests/bittorrent.nix
index 5aded554f4e8..3a718a798315 100644
--- a/nixos/tests/bittorrent.nix
+++ b/nixos/tests/bittorrent.nix
@@ -11,7 +11,7 @@ import ./make-test.nix ({ pkgs, ... }:
 let
 
   # Some random file to serve.
-  file = pkgs.nixUnstable.src;
+  file = pkgs.hello.src;
 
   miniupnpdConf = nodes: pkgs.writeText "miniupnpd.conf"
     ''