nixctor: init a buildsystem written in nixlang

This commit is contained in:
Jeremy Baxter 2024-02-13 19:52:24 +13:00
parent a9e40e51dc
commit afa80b0937
5 changed files with 107 additions and 0 deletions

9
nixctor/default.nix Normal file
View 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" ];
}