3
0
Fork 0
forked from mirrors/nixpkgs

tests.bittorrent: use a file instead of a directory

nixUnstable.src is a directory, which made cp fail without -r
This commit is contained in:
Robin Gloster 2017-01-26 02:44:05 +01:00
parent 1294909c2a
commit 5de731c853
No known key found for this signature in database
GPG key ID: 5E4C836C632C2882

View file

@ -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"
''