summaryrefslogtreecommitdiff
path: root/default.nix
blob: 13ce4ee99e28e38467a6f1b6b0a48389b3ee0661 (plain)
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
{ pkgs ? import <nixpkgs> {}
, stdenv ? pkgs.llvmPackages_16.stdenv
, clang-tools ? pkgs.clang-tools_16
, forstio ? (import ((builtins.fetchGit {
    url = "git@git.keldu.de:forstio/forstio";
    ref = "dev";
  }).outPath + "/default.nix"){
    inherit stdenv;
    inherit clang-tools;
  }).forstio
}:

let
	version = "0.0.0";
in 
{
	backend = pkgs.callPackage ./backend/.nix/derivation.nix {
		inherit stdenv;
		inherit clang-tools;
		inherit version;
		inherit forstio;
	};

	interface = pkgs.callPackage ./interface/.nix/derivation.nix {
		inherit version;
	};
}