summaryrefslogtreecommitdiff
path: root/default.nix
blob: 0ea5cdfc34ad48db02750ff3fdcfbde44d9cec10 (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
28
{ pkgs ? import <nixpkgs> {}
, clang ? pkgs.clang_15
, clang-tools ? pkgs.clang-tools_15
}:

let
  forstio = (import ((builtins.fetchGit {
    url = "git@git.keldu.de:forstio/forstio";
    ref = "dev";
  }).outPath + "/default.nix"){
    inherit clang;
    inherit clang-tools;
  }).forstio;

  kel-unit = (import ((builtins.fetchGit {
    url = "git@git.keldu.de:libs/unit";
    ref = "dev";
  }).outPath + "/default.nix"){
    inherit clang;
    inherit clang-tools;
  });

in pkgs.callPackage ./.nix/derivation.nix {
  inherit forstio;
  inherit kel-unit;
  inherit clang;
  inherit clang-tools;
}