{ description = "cpp project"; inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; }; outputs = { self, nixpkgs }: let system = "x86_64-linux"; pkgs = import nixpkgs { inherit system; }; in { devShells.${system}.default = pkgs.mkShell { packages = with pkgs; [ clang clang-tools pkg-config libcamera libGL mesa egl-wayland ]; shellHook = '' echo "dev shell ready" ''; }; }; }