{ inputs = { utils.url = "github:numtide/flake-utils"; }; outputs = { self, nixpkgs, utils }: utils.lib.eachDefaultSystem (system: let pkgs = nixpkgs.legacyPackages.${system}; in { devShell = pkgs.mkShell { buildInputs = with pkgs; [ (gn.overrideAttrs (_: { src = pkgs.fetchgit { url = "https://gn.googlesource.com/gn"; rev = "f284b6b47039a2d7edfcbfc51f52664f82b5a789"; sha256 = "sha256-ylPqXwmykdAJIqJ++aXcu4NrUE++YbNvuvgwk4kDvfo="; }; version = "2024-05-03"; # TODO: fix revnum or just the whole override situation })) tree-sitter nodejs biome # emscripten # for wasm output ]; GN_SOURCE = pkgs.gn.src; # used for test-data }; } ); }