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>;
|
with import <stockholm/lib>;
|
||||||
host@{ name, secure ? false, override ? {} }: let
|
{ name
|
||||||
builder = if getEnv "dummy_secrets" == "true"
|
, dummy_secrets ? getEnv "dummy_secrets" == "true"
|
||||||
then "buildbot"
|
, override ? {}
|
||||||
else "tv";
|
, secure ? false
|
||||||
|
}@host: let
|
||||||
|
builder = if dummy_secrets then "buildbot" else "tv";
|
||||||
_file = <stockholm> + "/tv/1systems/${name}/source.nix";
|
_file = <stockholm> + "/tv/1systems/${name}/source.nix";
|
||||||
in
|
in
|
||||||
evalSource (toString _file) [
|
evalSource (toString _file) [
|
||||||
|
Loading…
Reference in New Issue
Block a user