summaryrefslogtreecommitdiffstats
path: root/tv/source.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2018-01-04 12:56:41 +0100
committerlassulus <lassulus@lassul.us>2018-01-04 12:56:41 +0100
commit9c6deead88c3df4d5ef10f6f4073c66ad966eda2 (patch)
tree162f37a9b60153a861fac311a1b1343f913b9fba /tv/source.nix
parent878a7f164a3c3b5df81cfba24a2badcd26d46ed0 (diff)
parent1f85655f52ebeaf32d615aae72231c8449604b89 (diff)
Merge remote-tracking branch 'ni/master'
Diffstat (limited to 'tv/source.nix')
-rw-r--r--tv/source.nix10
1 files changed, 6 insertions, 4 deletions
diff --git a/tv/source.nix b/tv/source.nix
index 31308fc99..b5e3f7cd7 100644
--- a/tv/source.nix
+++ b/tv/source.nix
@@ -1,8 +1,10 @@
with import <stockholm/lib>;
-host@{ name, secure ? false, override ? {} }: let
- builder = if getEnv "dummy_secrets" == "true"
- then "buildbot"
- else "tv";
+{ name
+, dummy_secrets ? getEnv "dummy_secrets" == "true"
+, override ? {}
+, secure ? false
+}@host: let
+ builder = if dummy_secrets then "buildbot" else "tv";
_file = <stockholm> + "/tv/1systems/${name}/source.nix";
in
evalSource (toString _file) [