use teapot

This commit is contained in:
41666 2025-04-21 19:49:43 -07:00
parent 5378572327
commit 8502a4de48
7 changed files with 227 additions and 7 deletions

View file

@ -4,19 +4,20 @@
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-parts.url = "github:hercules-ci/flake-parts";
teapot.url = "git+https://git.sapphic.engineer/noe/teapot";
};
outputs = inputs: inputs.flake-parts.lib.mkFlake { inherit inputs; } {
systems = [ "x86_64-linux" "aarch64-linux" ];
perSystem = { config, self', pkgs, lib, system, ... }: {
perSystem = { config, self', pkgs, lib, system, ... }: let
in {
devShells.default = import ./shell.nix { inherit pkgs; };
packages.default = pkgs.stdenvNoCC.mkDerivation {
packages.default = inputs.teapot.packages.${system}.brewTea {
name = "noe.sh";
version = "0.0.0";
src = ./.;
installPhase = ''
cp -r . $out/
'';
layoutSrc = ./layouts;
};
};
};