Compare commits
	
		
			2 Commits
		
	
	
		
			macos
			...
			macos-spot
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|  | a5f8eada85 | ||
|  | f57eb6b95e | 
| @@ -42,6 +42,8 @@ function run() { | |||||||
|             // Catalina workaround https://github.com/NixOS/nix/issues/2925 |             // Catalina workaround https://github.com/NixOS/nix/issues/2925 | ||||||
|             if (os_1.type() == "Darwin") { |             if (os_1.type() == "Darwin") { | ||||||
|                 child_process_1.execFileSync(`${__dirname}/create-darwin-volume.sh`, { stdio: 'inherit' }); |                 child_process_1.execFileSync(`${__dirname}/create-darwin-volume.sh`, { stdio: 'inherit' }); | ||||||
|  |                 // Disable spotlight indexing of /nix to speed up performance | ||||||
|  |                 yield exec.exec("sudo", ["mdutil", "-i", "off", "/nix"]); | ||||||
|             } |             } | ||||||
|             // Needed due to multi-user being too defensive |             // Needed due to multi-user being too defensive | ||||||
|             core.exportVariable('ALLOW_PREEXISTING_INSTALLATION', "1"); |             core.exportVariable('ALLOW_PREEXISTING_INSTALLATION', "1"); | ||||||
|   | |||||||
| @@ -27,6 +27,9 @@ async function run() { | |||||||
|     // Catalina workaround https://github.com/NixOS/nix/issues/2925 |     // Catalina workaround https://github.com/NixOS/nix/issues/2925 | ||||||
|     if (type() == "Darwin") { |     if (type() == "Darwin") { | ||||||
|       execFileSync(`${__dirname}/create-darwin-volume.sh`, { stdio: 'inherit' }); |       execFileSync(`${__dirname}/create-darwin-volume.sh`, { stdio: 'inherit' }); | ||||||
|  |  | ||||||
|  |       // Disable spotlight indexing of /nix to speed up performance | ||||||
|  |       await exec.exec("sudo", ["mdutil", "-i", "off", "/nix"]); | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     // Needed due to multi-user being too defensive |     // Needed due to multi-user being too defensive | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user