mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 18:02:44 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			39 lines
		
	
	
	
		
			535 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
	
		
			535 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| { pkgs ? import <nixpkgs> { } }:
 | |
| with pkgs;
 | |
| 
 | |
| stdenv.mkDerivation {
 | |
|   name = "cpp-env";
 | |
|   nativeBuildInputs = [
 | |
|     ccache
 | |
|     cmake
 | |
|     curl
 | |
|     e2fsprogs
 | |
|     fuse2fs
 | |
|     gcc12
 | |
|     gmp
 | |
|     # To create port launcher icons
 | |
|     imagemagick
 | |
|     libmpc
 | |
|     mpfr
 | |
|     ninja
 | |
|     patch
 | |
|     pkg-config
 | |
|     rsync
 | |
|     texinfo
 | |
|     unzip
 | |
|   ];
 | |
| 
 | |
|   buildInputs = [
 | |
|     e2fsprogs
 | |
|     fuse2fs
 | |
|     # To build the GRUB disk image
 | |
|     grub2
 | |
|     libxcrypt
 | |
|     openssl
 | |
|     parted
 | |
|     qemu
 | |
|     xlibsWrapper
 | |
|   ];
 | |
| 
 | |
|   hardeningDisable = [ "format" "fortify" ];
 | |
| }
 | 
