/ flake.nix
flake.nix
1 { 2 inputs = { 3 nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11"; 4 }; 5 6 outputs = { self, nixpkgs }: 7 let 8 supportedSystems = nixpkgs.lib.genAttrs [ 9 "x86_64-linux" 10 "aarch64-linux" 11 ]; 12 in 13 { 14 devShells = supportedSystems (system: { 15 default = with nixpkgs.legacyPackages.${system}; mkShell { 16 packages = [ 17 bacon 18 cargo 19 cargo-nextest 20 clippy 21 nixpacks 22 openssl 23 pkg-config 24 protobuf 25 rustc 26 rustfmt 27 ]; 28 }; 29 }); 30 }; 31 }