{ description = "TREX I/O library"; inputs = { nixpkgs.url = "github:NixOS/nixpkgs"; flake-utils.url = "github:numtide/flake-utils"; }; outputs = { self, nixpkgs, flake-utils }: let overlay = import ./tools/nix/overlay.nix; in flake-utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { inherit system; overlays = [ overlay ]; }; in { packages.default = pkgs.trexio; } ) // { overlays.default = overlay; }; }