use teapot
This commit is contained in:
parent
5378572327
commit
8502a4de48
7 changed files with 227 additions and 7 deletions
11
flake.nix
11
flake.nix
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue