34 lines
		
	
	
	
		
			616 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
	
		
			616 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{
 | 
						|
  inputs = {
 | 
						|
    nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
 | 
						|
    flake-utils = {
 | 
						|
      url = "github:numtide/flake-utils";
 | 
						|
    };
 | 
						|
  };
 | 
						|
  outputs = {
 | 
						|
    self,
 | 
						|
    flake-utils,
 | 
						|
    nixpkgs,
 | 
						|
    ...
 | 
						|
  }:
 | 
						|
    flake-utils.lib.eachDefaultSystem (system: let
 | 
						|
      inherit (pkgs) lib;
 | 
						|
      pkgs = import nixpkgs {
 | 
						|
        inherit system;
 | 
						|
      };
 | 
						|
    in {
 | 
						|
      formatter = pkgs.alejandra;
 | 
						|
      devShells.default = pkgs.mkShell {
 | 
						|
        packages = with pkgs; [
 | 
						|
          clang-tools
 | 
						|
 | 
						|
          gcc
 | 
						|
          bear
 | 
						|
          gnumake
 | 
						|
        ];
 | 
						|
      };
 | 
						|
    });
 | 
						|
  nixConfig = {
 | 
						|
    keepOutputs = true;
 | 
						|
  };
 | 
						|
}
 |