-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathflake.nix
29 lines (26 loc) · 919 Bytes
/
flake.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
description = "Forms Wizard";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
formsDesigner = { url = "github:FormsWizard/forms-designer/main";
inputs.nixpkgs.follows = "nixpkgs"; };
processing = { url = "github:FormsWizard/processing/main";
inputs.nixpkgs.follows = "nixpkgs"; };
};
outputs = { self, nixpkgs, formsDesigner, processing, ... }:
let
system = "x86_64-linux";
pkgs = import nixpkgs {inherit system;};
inherit (pkgs) lib;
in rec {
devShells.${system} = {
doc = import ./doc/shell.nix { inherit pkgs; };
};
#devShell.${system} = devShells.${system}."doc"; ## will be changed
packages.${system} = rec {
ci = import ./.ci { inherit pkgs formsDesigner processing; };
frontend = import ./frontend { inherit pkgs formsDesigner processing; };
default = frontend;
};
};
}