You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to pass in an argument to the build and deploy in order to be able to specify which environment I want to deploy. This is not the same as using tags because all environments are almost exactly the same and I often create and destroy environments, so I just want to pass a variable called env through the nix configuration. I therefore want my default.nix to be
{ env }:
let
...
in
{
"webserver" = { inherit env; ...}
}
The text was updated successfully, but these errors were encountered:
We will welcome help with this, but probably won't work on it ourselves. I think an --arg foo bar version that works much like the rest of the Nix tooling is fine and intuitive enough for Nix users.
I would like to pass in an argument to the build and deploy in order to be able to specify which environment I want to deploy. This is not the same as using tags because all environments are almost exactly the same and I often create and destroy environments, so I just want to pass a variable called
env
through the nix configuration. I therefore want my default.nix to beThe text was updated successfully, but these errors were encountered: