{ description = "glonkers glonkers glonkers"; inputs = { flake-utils.url = "github:numtide/flake-utils"; nixpkgs.url = "nixpkgs/nixos-unstable"; }; outputs = { self, nixpkgs, flake-utils }: flake-utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { inherit system; }; in { defaultPackage = pkgs.stdenv.mkDerivation rec { LD_LIBRARY_PATH = "${pkgs.lib.makeLibraryPath buildInputs}"; name = "glonkers"; src = ./.; buildInputs = with pkgs; [ pkg-config sdl3 libGL wayland wayland-protocols wayland-scanner ]; installPhase = '' mkdir -p $out/bin cp glonkers $out/bin ''; }; } ); }