diff --git a/infra/README.org b/infra/README.org index 80cbd01..d426a0d 100644 --- a/infra/README.org +++ b/infra/README.org @@ -7,7 +7,20 @@ Their configuration can be updated via NixOps4. Run nixops4 deployments list #+end_src -to see the available deployments. Given a deployment (eg. ~git~), run +to see the available deployments. This should be done from the root of the +repository, otherwise NixOps4 will fail with something like: + +#+begin_src +nixops4 error: evaluation: error: + … while calling the 'getFlake' builtin + + error: path '/nix/store/05nn7krhvi8wkcyl6bsysznlv60g5rrf-source/flake.nix' does not exist, evaluation: error: + … while calling the 'getFlake' builtin + + error: path '/nix/store/05nn7krhvi8wkcyl6bsysznlv60g5rrf-source/flake.nix' does not exist +#+end_src + +Then, given a deployment (eg. ~git~), run #+begin_src sh nixops4 apply