{ description = "My rust development shell"; inputs = { nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; rust-overlay = { url = "github:oxalica/rust-overlay"; inputs.nixpkgs.follows = "nixpkgs"; }; }; outputs = {nixpkgs, ...} @ inputs: let system = "x86_64-linux"; overlays = [(import inputs.rust-overlay)]; pkgs = import nixpkgs { inherit system overlays; }; in { devShells."${system}" = { default = pkgs.mkShell { buildInputs = with pkgs; [ gcc clang gnumake rust-bin.stable.latest.default evcxr libxkbcommon wayland rusty-man libqalculate pkg-config # Add this ]; nativeBuildInputs = with pkgs; [ pkg-config # Add this here too ]; LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [ pkgs.libxkbcommon pkgs.libqalculate # Add this ]; }; }; }; }