about summary refs log tree commit diff
path: root/make/examples/not-so-simple-header/default.nix
blob: 61ded57c82bba4502d0d9cc658748941f05695d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
let {

  inherit (import ../../lib) compileC link;

  hello = link {programName = "hello"; objects = compileC {
    main = ./foo/hello.c;
    localIncludes = [
      [./foo/fnord/indirect.h "fnord/indirect.h"]
      [./bar/hello.h "fnord/../../bar/hello.h"]
    ];
  };};

  body = [hello];
}