{ description = "Worther - Calculate cryptocurrency taxes & net worth."; inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-21.05"; flake-utils.url = "github:numtide/flake-utils"; }; outputs = { self, nixpkgs, flake-utils, ... }: with nixpkgs.lib; flake-utils.lib.eachDefaultSystem (system: let pkgs = nixpkgs.legacyPackages.${system}; worther = callPackage ./worther.nix { pkgs = nixpkgs; }; in rec { packages = flake-utils.lib.flattenTree { worther = nixpkgs.legacyPackages.x86_64-linux.worther; }; defaultPackage = packages.worther; }); }