Inventory: init draft ideas

This commit is contained in:
Johannes Kirschbauer
2024-06-15 13:41:51 +02:00
parent 14e4cea83c
commit 881e95dd75
12 changed files with 309 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
{ ... }:
{
perSystem =
{ pkgs, config, ... }:
{
packages.inventory-schema = pkgs.stdenv.mkDerivation {
name = "inventory-schema";
src = ./src;
buildInputs = [ pkgs.cue ];
installPhase = ''
mkdir -p $out
'';
};
devShells.inventory-schema = pkgs.mkShell { inputsFrom = [ config.packages.inventory-schema ]; };
};
}