initial commit
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: Ie3b66d17f6f660c9b9a719210bd86f9f6a6a6964
This commit is contained in:
commit
b381e2efbd
29 changed files with 1633 additions and 0 deletions
12
nix/package.nix
Normal file
12
nix/package.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{stdenv}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "sample-c-cpp";
|
||||
version = "0.0.1";
|
||||
|
||||
src = builtins.path {
|
||||
path = ../.;
|
||||
name = finalAttrs.pname;
|
||||
};
|
||||
|
||||
makeFlags = ["PREFIX=$(out)"];
|
||||
})
|
||||
16
nix/shell.nix
Normal file
16
nix/shell.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
mkShell,
|
||||
clang-tools,
|
||||
raylib,
|
||||
gnumake,
|
||||
pkg-config,
|
||||
}:
|
||||
mkShell {
|
||||
strictDeps = true;
|
||||
buildInputs = [
|
||||
clang-tools
|
||||
raylib
|
||||
gnumake
|
||||
pkg-config
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue