{ description = "Tshort flake"; inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; flake-utils.url = "github:numtide/flake-utils"; }; outputs = { self, nixpkgs, flake-utils, }: flake-utils.lib.eachDefaultSystem (system: let pkgs = nixpkgs.legacyPackages.${system}; in { packages.default = pkgs.callPackage ./default.nix {}; devShells.default = pkgs.callPackage ./shell.nix {}; }) // { overlay = final: prev: { tshort = import ./default.nix {pkgs = final;}; }; }; }