feat(templates): add cmake-c
This commit is contained in:
17
templates/cmake-c/nix/derivation.nix
Normal file
17
templates/cmake-c/nix/derivation.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
cmake,
|
||||
stdenv,
|
||||
...
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "my-derivation";
|
||||
version = "0.1.0";
|
||||
src = ../.;
|
||||
nativeBuildInputs = [cmake];
|
||||
buildInputs = [];
|
||||
|
||||
meta = {
|
||||
description = "Hello World Binary";
|
||||
mainProgram = "hello";
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user