1*d4726bddSHONG Yifan{ 2*d4726bddSHONG Yifan inputs = { 3*d4726bddSHONG Yifan nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; 4*d4726bddSHONG Yifan 5*d4726bddSHONG Yifan flake-utils.url = "github:numtide/flake-utils"; 6*d4726bddSHONG Yifan }; 7*d4726bddSHONG Yifan 8*d4726bddSHONG Yifan outputs = { self, nixpkgs, flake-utils, ... }: 9*d4726bddSHONG Yifan flake-utils.lib.eachDefaultSystem (system: 10*d4726bddSHONG Yifan let 11*d4726bddSHONG Yifan pkgs = import nixpkgs { inherit system; }; 12*d4726bddSHONG Yifan in 13*d4726bddSHONG Yifan { 14*d4726bddSHONG Yifan devShells.default = pkgs.mkShell 15*d4726bddSHONG Yifan { 16*d4726bddSHONG Yifan packages = [ 17*d4726bddSHONG Yifan pkgs.bazel-buildtools 18*d4726bddSHONG Yifan pkgs.bazel_6 19*d4726bddSHONG Yifan pkgs.cargo 20*d4726bddSHONG Yifan pkgs.rustc 21*d4726bddSHONG Yifan pkgs.rustfmt 22*d4726bddSHONG Yifan ]; 23*d4726bddSHONG Yifan }; 24*d4726bddSHONG Yifan }); 25*d4726bddSHONG Yifan} 26