From 6c032e82b878d3ca0293dfd4297492efa3c938cb Mon Sep 17 00:00:00 2001 From: Grace Yoder Date: Thu, 10 Sep 2026 11:43:22 -0400 Subject: build: package for nix --- flake.nix | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 flake.nix (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..ae417d4 --- /dev/null +++ b/flake.nix @@ -0,0 +1,26 @@ +{ + description = "Tee standard input into the system clipboard"; + + inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; + + outputs = { nixpkgs, ... }: + let + systems = [ + "aarch64-darwin" + "aarch64-linux" + "x86_64-linux" + ]; + forAllSystems = nixpkgs.lib.genAttrs systems; + in + { + packages = forAllSystems (system: + let + pkgs = nixpkgs.legacyPackages.${system}; + tpb = import ./default.nix { inherit pkgs; }; + in + { + inherit tpb; + default = tpb; + }); + }; +} -- cgit v1.3.1