tv source: turn dummy_secrets into an argument
This commit is contained in:
parent
6ed214fc77
commit
84fdbeba2c
@ -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) [
|
||||
|
Loading…
Reference in New Issue
Block a user