mirror of
https://github.com/NixOS/nix.git
synced 2025-11-14 22:42:41 +01:00
14 lines
270 B
Nix
14 lines
270 B
Nix
let {
|
|
|
|
inherit (import ../../lib) compileC link;
|
|
|
|
hello = link {objects = compileC {
|
|
main = ./foo/hello.c;
|
|
localIncludes = [
|
|
[./foo/fnord/indirect.h "fnord/indirect.h"]
|
|
[./bar/hello.h "fnord/../../bar/hello.h"]
|
|
];
|
|
};};
|
|
|
|
body = [hello];
|
|
}
|