37 lines
1.1 KiB
Nix
37 lines
1.1 KiB
Nix
{
|
|
description = "Quixos project 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/56bbcd22d17f8c7f120b1e0b5bd1d5a86e91a80a&rev=56bbcd22d17f8c7f120b1e0b5bd1d5a86e91a80a";
|
|
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 = ./.;
|
|
promptName = "project-react-runtime";
|
|
bundle = {
|
|
entry = "dist/server.js";
|
|
};
|
|
installServer = {
|
|
libexecName = "project-react-runtime";
|
|
descriptorPath = "descriptor.quixos-package.txtpb";
|
|
extraFiles = [
|
|
{
|
|
source = "dist/project-component.mjs";
|
|
target = "project-component.mjs";
|
|
}
|
|
];
|
|
};
|
|
};
|
|
}
|