install-multi-user: support 'set -u' runs, closes #2193
This commit is contained in:
		
							parent
							
								
									d459d3307c
								
							
						
					
					
						commit
						6ba1726eeb
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -727,7 +727,7 @@ setup_default_profile() { | |||
|     _sudo "to installing a bootstrapping Nix in to the default Profile" \ | ||||
|           HOME="$ROOT_HOME" "$NIX_INSTALLED_NIX/bin/nix-env" -i "$NIX_INSTALLED_NIX" | ||||
| 
 | ||||
|     if [ -z "$NIX_SSL_CERT_FILE" ] || ! [ -f "$NIX_SSL_CERT_FILE" ]; then | ||||
|     if [ -z "${NIX_SSL_CERT_FILE:-}" ] || ! [ -f "${NIX_SSL_CERT_FILE:-}" ]; then | ||||
|         _sudo "to installing a bootstrapping SSL certificate just for Nix in to the default Profile" \ | ||||
|               HOME="$ROOT_HOME" "$NIX_INSTALLED_NIX/bin/nix-env" -i "$NIX_INSTALLED_CACERT" | ||||
|         export NIX_SSL_CERT_FILE=/nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue