Skip to content

Commit

Permalink
deployment: HACK: make the network.nix always part of the nix exprs
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamc committed Mar 26, 2020
1 parent 43fde6d commit 6dc8b80
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nixops/script_defs.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
def deployment(args: Namespace) -> Generator[nixops.deployment.Deployment, None, None]:
with network_state(args) as sf:
depl = open_deployment(sf, args)
depl.nix_exprs = [os.path.abspath(args.network_file)]
yield depl


Expand Down

0 comments on commit 6dc8b80

Please sign in to comment.