mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2025-02-12 13:17:18 +02:00
![Eelco Dolstra](/assets/img/avatar_default.png)
* Add support for the creation of shared libraries to `compileC', `link', and `makeLibrary'. * Enable the ATerm library to be made into a shared library.
11 lines
207 B
Nix
11 lines
207 B
Nix
let {
|
|
|
|
inherit (import ../../lib) compileC findIncludes link;
|
|
|
|
hello = link {programName = "hello"; objects = compileC {
|
|
main = ./foo/hello.c;
|
|
localIncludes = "auto";
|
|
};};
|
|
|
|
body = [hello];
|
|
}
|