non important commit
This commit is contained in:
parent
2fb1686b7e
commit
60bba51792
3 changed files with 30 additions and 0 deletions
22
home/modules/create-project/project-blueprints/cpp/flake.nix
Normal file
22
home/modules/create-project/project-blueprints/cpp/flake.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
{
|
||||||
|
description = "My cpp development shell";
|
||||||
|
inputs = {
|
||||||
|
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
||||||
|
};
|
||||||
|
|
||||||
|
outputs = {nixpkgs, ...}: let
|
||||||
|
system = "x86_64-linux";
|
||||||
|
pkgs = import nixpkgs {
|
||||||
|
inherit system;
|
||||||
|
};
|
||||||
|
in {
|
||||||
|
devShells."${system}" = {
|
||||||
|
default = pkgs.mkShell {
|
||||||
|
buildInputs = with pkgs; [
|
||||||
|
gcc
|
||||||
|
gnumake
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
#include<stdio.h>
|
||||||
|
|
||||||
|
int main (int argc, char **argv) {
|
||||||
|
printf("Hellow World!\n");
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
@ -84,6 +84,8 @@
|
||||||
ts.enable = true;
|
ts.enable = true;
|
||||||
zig.enable = true;
|
zig.enable = true;
|
||||||
csharp.enable = true;
|
csharp.enable = true;
|
||||||
|
|
||||||
|
clang.enable = true;
|
||||||
rust = {
|
rust = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extensions.crates-nvim.enable = true;
|
extensions.crates-nvim.enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue