39 lines
1.1 KiB
Nix
39 lines
1.1 KiB
Nix
{
|
|||
|
|
description = "Quixos todo React component runtime package";
|
||
|
|
|
||
|
|
inputs = {
|
||
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||
|
|
flake-utils.url = "github:numtide/flake-utils";
|
||
|
|
|
||
|
|
quixosNixHelpers = {
|
||
|
|
url = "git+https://gitea-external.egads.tutti.syntaxblitz.net/quixos/quixos-nix-helpers.git?ref=refs/tags/quixos-reachability/e2747066ca7d9d001dcb5dd936e17969ed88fc5f&rev=e2747066ca7d9d001dcb5dd936e17969ed88fc5f";
|
||
|
|
flake = false;
|
||
|
|
};
|
||
|
|
};
|
||
|
|
|
||
|
|
outputs =
|
||
|
|
inputs@{
|
||
|
|
nixpkgs,
|
||
|
|
flake-utils,
|
||
|
|
quixosNixHelpers,
|
||
|
|
...
|
||
|
|
}:
|
||
|
|
let
|
||
|
|
quixosHelpers = import "${quixosNixHelpers}/quixos-package-helpers.nix";
|
||
|
|
in
|
||
|
|
quixosHelpers.mkCaminoTsYarnNixifyFlake {
|
||
|
|
inherit inputs nixpkgs flake-utils;
|
||
|
|
packageRoot = ./.;
|
||
|
|
migrationEntrypoint = "dist/migrate.js";
|
||
|
|
promptName = "todo-react-runtime";
|
||
|
|
bundle = {
|
||
|
|
entry = "src/server.ts";
|
||
|
|
browserSources = true;
|
||
|
|
};
|
||
|
|
installServer = {
|
||
|
|
libexecName = "todo-react-runtime";
|
||
|
|
descriptorPath = "descriptor.quixos-package.txtpb";
|
||
|
|
};
|
||
|
|
};
|
||
|
|
}
|