mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-23 14:36:16 +02:00
15 lines
293 B
Nix
15 lines
293 B
Nix
|
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];
|
||
|
}
|