Don't use -warning=no-timestamp unless we have GNU tar
http://hydra.nixos.org/build/2998485
This commit is contained in:
		
							parent
							
								
									360056e174
								
							
						
					
					
						commit
						d3004c78d9
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -6,7 +6,7 @@ let
 | 
				
			||||||
    ''
 | 
					    ''
 | 
				
			||||||
      mkdir $out
 | 
					      mkdir $out
 | 
				
			||||||
      cd $out
 | 
					      cd $out
 | 
				
			||||||
      ${bzip2} -d < $src | ${tar} xf - --warning=no-timestamp
 | 
					      ${bzip2} -d < $src | ${tar} xf - ${tarFlags}
 | 
				
			||||||
      mv * $out/$channelName
 | 
					      mv * $out/$channelName
 | 
				
			||||||
      if [ -n "$binaryCacheURL" ]; then
 | 
					      if [ -n "$binaryCacheURL" ]; then
 | 
				
			||||||
        mkdir $out/binary-caches
 | 
					        mkdir $out/binary-caches
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue