27 lines
		
	
	
		
			602 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			602 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{
 | 
						|
  stdenv
 | 
						|
, lib
 | 
						|
, glibc
 | 
						|
}:
 | 
						|
 | 
						|
stdenv.mkDerivation rec {
 | 
						|
  pname = "nixtools";
 | 
						|
  version = "${src.shortRev}";
 | 
						|
  src = builtins.fetchGit {
 | 
						|
    url = "ssh://git@bscpm04.bsc.es/rarias/nixtools";
 | 
						|
    ref = "master";
 | 
						|
    rev = "a103e392048ace3ed88ce74648b32c9e6ed094da";
 | 
						|
  };
 | 
						|
  buildInputs = [ glibc.static ];
 | 
						|
  makeFlags = [ "DESTDIR=$(out)" ];
 | 
						|
  preBuild = "env";
 | 
						|
  dontPatchShebangs = true;
 | 
						|
 | 
						|
  meta = {
 | 
						|
    homepage = "https://gitlab.pm.bsc.es/rarias/nixtools";
 | 
						|
    description = "nix bubblewrap wrapper";
 | 
						|
    maintainers = with lib.maintainers.bsc; [ rarias ];
 | 
						|
    platforms = lib.platforms.linux;
 | 
						|
  };
 | 
						|
}
 |