forked from fediversity/fediversity
		
	Document failure when running NixOps4 not from the repo's root
This commit is contained in:
		
							parent
							
								
									d121cd6a5b
								
							
						
					
					
						commit
						232680c9bf
					
				
					 1 changed files with 14 additions and 1 deletions
				
			
		|  | @ -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 <deployment> | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue