{ inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; flake-utils.url = "github:numtide/flake-utils"; freight = { url = "github:ivan770/freight"; inputs.nixpkgs.follows = "nixpkgs"; inputs.flake-utils.follows = "flake-utils"; }; }; outputs = { nixpkgs, flake-utils, freight, ... }: flake-utils.lib.eachDefaultSystem ( system: let pkgs = import nixpkgs { inherit system; }; inherit (pkgs) lib; in { packages.default = freight.lib.${system}.mkWorker { pname = "gabrielsimmercom-workers"; version = "0.1.0"; src = ./.; }; devShells.default = pkgs.mkShell { nativeBuildInputs = with pkgs; [ cargo rustc rust-analyzer nodePackages_latest.wrangler openssl pkg-config cargo-bloat ]; }; } ); }