1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
let sources = import ./npins; pkgs = import sources.nixpkgs { }; in pkgs.mkShell { packages = with pkgs; [ just pkg-config ]; buildInputs = with pkgs; [ glfw ]; shellHook = '' export PKG_CONFIG_PATH="${pkgs.glfw.dev}/lib/pkgconfig:$PKG_CONFIG_PATH" ''; }