git-subtree-dir: third_party/nix
git-subtree-mainline: cf8cd640c1
git-subtree-split: be66c7a6b24e3c3c6157fd37b86c7203d14acf10
		
	
			
		
			
				
	
	
		
			12 lines
		
	
	
	
		
			279 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
	
		
			279 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| source common.sh
 | |
| 
 | |
| clearStore
 | |
| 
 | |
| if nix-instantiate --readonly-mode ./import-derivation.nix; then
 | |
|     echo "read-only evaluation of an imported derivation unexpectedly failed"
 | |
|     exit 1
 | |
| fi
 | |
| 
 | |
| outPath=$(nix-build ./import-derivation.nix --no-out-link)
 | |
| 
 | |
| [ "$(cat $outPath)" = FOO579 ]
 |