diff options
| author | Grace Yoder <grace_yoder@outlook.com> | 2026-09-10 11:43:22 -0400 |
|---|---|---|
| committer | Grace Yoder <grace_yoder@outlook.com> | 2026-09-10 12:26:26 -0400 |
| commit | 6c032e82b878d3ca0293dfd4297492efa3c938cb (patch) | |
| tree | a00856f656ab67ccfc2191b862bcb46c19e17da0 /flake.nix | |
| parent | 2178c4d83916eadade432906838e844efd7f63d1 (diff) | |
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 26 |
1 files changed, 26 insertions, 0 deletions
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; + }); + }; +} |
