Files
quixos/package-templates/react-surface/flake.nix
T
2026-06-27 20:48:53 -07:00

32 lines
1016 B
Nix

{
description = "quixos React browser-surface 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?rev=e0874093f284d255bf2a5458a516f22fb71e8f45";
flake = false;
};
packageSchema_remote-dom-relay = {
url = "git+https://gitea-external.egads.tutti.syntaxblitz.net/quixos-packages/remote-dom-relay.git?rev=682d0069eac0f863be037848a184d6f473cc593e";
};
};
outputs = inputs@{ self, nixpkgs, flake-utils, ... }:
let
quixosHelpers = import "${inputs.quixosNixHelpers}/quixos-package-helpers.nix";
in
quixosHelpers.mkQuixosPackageFlake {
inherit self inputs nixpkgs flake-utils;
flakeRoot = ./.;
schemaDir = ./schema;
serverBuilder = quixosHelpers.mkTsPackageServer {
srcDir = ./src;
buildCommand = "yarn build";
};
};
}