39 lines
767 B
Nix
39 lines
767 B
Nix
{
|
|
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 (prev: {
|
|
pname = "toes";
|
|
version = "1.26.1";
|
|
src = ./.;
|
|
buildInputs = (prev.buildInputs or [ ]) ++ [
|
|
pkgs.libsodium
|
|
];
|
|
});
|
|
in
|
|
{
|
|
inherit toes;
|
|
default = toes;
|
|
}
|
|
);
|
|
};
|
|
}
|