nixctor: init a buildsystem written in nixlang
This commit is contained in:
parent
a9e40e51dc
commit
afa80b0937
5 changed files with 107 additions and 0 deletions
9
nixctor/default.nix
Normal file
9
nixctor/default.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ constructProgram ? import ./ctor.nix }:
|
||||
constructProgram {
|
||||
pname = "hello-world";
|
||||
version = "1.0.0";
|
||||
|
||||
src = ./.; # use the current directory
|
||||
|
||||
sourceFiles = [ "main.c" "lib.c" ];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue