38 lines
1.3 KiB
Nix
38 lines
1.3 KiB
Nix
{
|
|
inputs.protocol.url = "git+https://gitea-external.egads.tutti.syntaxblitz.net/quixos/quixos-protocol.git?ref=refs/tags/quixos-reachability/81a56d7b16ab248c0187411ae5284b6e620ead57&rev=81a56d7b16ab248c0187411ae5284b6e620ead57";
|
|
inputs.nixpkgs.follows = "protocol/nixpkgs";
|
|
inputs.flake-utils.follows = "protocol/flake-utils";
|
|
inputs.helpers = {
|
|
url = "git+https://gitea-external.egads.tutti.syntaxblitz.net/quixos/quixos-nix-helpers.git?ref=refs/tags/quixos-reachability/5657043450c46fc84e1a6d38c2f8919ba1e9d10c&rev=5657043450c46fc84e1a6d38c2f8919ba1e9d10c";
|
|
flake = false;
|
|
};
|
|
outputs =
|
|
{
|
|
nixpkgs,
|
|
flake-utils,
|
|
helpers,
|
|
...
|
|
}:
|
|
flake-utils.lib.eachDefaultSystem (
|
|
system:
|
|
let
|
|
pkgs = import nixpkgs { inherit system; };
|
|
camino = import (helpers + "/quixos-package-helpers.nix");
|
|
in
|
|
{
|
|
quixosPackages.checkedArtifacts =
|
|
context:
|
|
let
|
|
pkgs = camino.packageSet { inherit nixpkgs system context; };
|
|
in
|
|
camino.mkCaminoTypeScriptPackage {
|
|
inherit pkgs context;
|
|
src = ./.;
|
|
targets = [ "server" ];
|
|
entry = "src/portable.ts";
|
|
};
|
|
devShells.default = camino.mkCaminoYarnShell { inherit pkgs; };
|
|
}
|
|
);
|
|
}
|