summaryrefslogtreecommitdiffstats
path: root/makefu/source.nix
diff options
context:
space:
mode:
Diffstat (limited to 'makefu/source.nix')
-rw-r--r--makefu/source.nix10
1 files changed, 7 insertions, 3 deletions
diff --git a/makefu/source.nix b/makefu/source.nix
index a24af4dfb..586b9c22e 100644
--- a/makefu/source.nix
+++ b/makefu/source.nix
@@ -1,5 +1,5 @@
with import <stockholm/lib>;
-host@{ name, secure ? false, override ? {}, full ? false }: let
+host@{ name, secure ? false, override ? {}, full ? false, torrent ? false }: let
builder = if getEnv "dummy_secrets" == "true"
then "buildbot"
else "makefu";
@@ -29,10 +29,14 @@ in
buildbot = toString <stockholm/makefu/6tests/data/secrets>;
makefu = "/home/makefu/secrets/${name}";
};
+
stockholm.file = toString <stockholm>;
}
- (mkIf (builder == "makefu") {
- secrets-common.file = "/home/makefu/secrets/common";
+ (mkIf ( torrent ) {
+ torrent-secrets.file = getAttr builder {
+ buildbot = toString <stockholm/makefu/6tests/data/secrets>;
+ makefu = "/home/makefu/secrets/torrent" ;
+ };
})
override
]