From cdd520adc3b5b6c5571ad16225cf1af92c12fbe4 Mon Sep 17 00:00:00 2001 From: atagen Date: Wed, 20 May 2026 15:50:34 +1000 Subject: [PATCH 1/2] add flake --- flake.nix | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 flake.nix diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..fe3b04f --- /dev/null +++ b/flake.nix @@ -0,0 +1,36 @@ +{ + description = "toes terminal emulator"; + + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; + }; + + outputs = + { nixpkgs, ... }: + let + systems = [ + "aarch64-linux" + "x86_64-linux" + ]; + + forAllSystems = nixpkgs.lib.genAttrs systems; + in + { + packages = forAllSystems ( + system: + let + pkgs = import nixpkgs { inherit system; }; + + toes = pkgs.foot.overrideAttrs { + pname = "toes"; + version = "1.26.1"; + src = ./.; + }; + in + { + inherit toes; + default = toes; + } + ); + }; +} From 4826aa5e809469fb8fdbeb6ccf5ed4cd955db56a Mon Sep 17 00:00:00 2001 From: atagen Date: Wed, 20 May 2026 15:50:34 +1000 Subject: [PATCH 2/2] add flake --- flake.lock | 27 +++++++++++++++++++++++++++ flake.nix | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 flake.lock create mode 100644 flake.nix diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..c98e08e --- /dev/null +++ b/flake.lock @@ -0,0 +1,27 @@ +{ + "nodes": { + "nixpkgs": { + "locked": { + "lastModified": 1779259093, + "narHash": "sha256-7DKWmH23hL2eYdkxCKeqj2i+yljTKuU+3Nk1UPHOnxc=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "d99b013d5d1931ad77fe3912ed218170dec5d9a4", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "nixpkgs": "nixpkgs" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..fe3b04f --- /dev/null +++ b/flake.nix @@ -0,0 +1,36 @@ +{ + description = "toes terminal emulator"; + + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; + }; + + outputs = + { nixpkgs, ... }: + let + systems = [ + "aarch64-linux" + "x86_64-linux" + ]; + + forAllSystems = nixpkgs.lib.genAttrs systems; + in + { + packages = forAllSystems ( + system: + let + pkgs = import nixpkgs { inherit system; }; + + toes = pkgs.foot.overrideAttrs { + pname = "toes"; + version = "1.26.1"; + src = ./.; + }; + in + { + inherit toes; + default = toes; + } + ); + }; +}