diff options
author | makefu <github@syntax-fehler.de> | 2018-01-06 21:27:05 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2018-01-06 21:27:05 +0100 |
commit | 3aaab59b7f2eaa635106826bd4a4229a0a7a794c (patch) | |
tree | 5588d5b2fb3e416bba13473c5fbcfcccf3c7930d /tv/source.nix | |
parent | 149aad4cb79de44e095b82ffdf7fa65cc95c2f93 (diff) | |
parent | acecab429219d9086e23fa8912ecb05c017211d1 (diff) |
Merge remote-tracking branch 'lass/master'
Diffstat (limited to 'tv/source.nix')
-rw-r--r-- | tv/source.nix | 10 |
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) [ |