nuke references to glibc...this should become a generic function somewhere...
svn path=/nixpkgs/trunk/; revision=6017
This commit is contained in:
		
							parent
							
								
									aefc9586ec
								
							
						
					
					
						commit
						2f5ec262a8
					
				@ -11,4 +11,16 @@ preConfigure() {
 | 
			
		||||
 | 
			
		||||
preConfigure=preConfigure
 | 
			
		||||
 | 
			
		||||
postInstall() {
 | 
			
		||||
  cd $out/bin
 | 
			
		||||
 | 
			
		||||
  find . -type f | while read fn; do
 | 
			
		||||
    cat $fn | sed "s|/nix/store/[a-z0-9]*-|/nix/store/ffffffffffffffffffffffffffffffff-|g" > $fn.tmp
 | 
			
		||||
    if test -x $fn; then chmod +x $fn.tmp; fi
 | 
			
		||||
    mv $fn.tmp $fn
 | 
			
		||||
  done
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
postInstall=postInstall
 | 
			
		||||
 | 
			
		||||
genericBuild
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user