test: added gel but haven't tested

This commit is contained in:
Nick 2025-12-14 23:00:25 -06:00
parent 8eb9ed31fc
commit 9a1707fb2d
11 changed files with 536 additions and 9 deletions

22
packages/tome/default.nix Normal file
View file

@ -0,0 +1,22 @@
{ inputs, ... }:
{
perSystem =
{ pkgs, ... }:
{
devShells.tome = pkgs.mkShell {
buildInputs = builtins.attrValues {
inherit (inputs.gel.packages."x86_64-linux") gel-cli gel-ls;
};
};
packages.tome = pkgs.stdenv.mkDerivation {
installPhase = ''
mkdir -p $out
cp -r dbschema $out/
cp gel.toml $out/
'';
name = "tome";
src = ./src;
};
};
}