Added C template

This commit is contained in:
William 2023-08-15 10:33:31 -03:00
parent 3950d3fe20
commit a634e932f6
5 changed files with 43 additions and 2 deletions

13
c/flake.nix Normal file
View file

@ -0,0 +1,13 @@
{
description = "Flake template for a devShell";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils, ... }:
flake-utils.lib.eachDefaultSystem (system:
let pkgs = import nixpkgs { inherit system; };
in with pkgs; { devShells.default = mkShell { packages = [ clang_12 ccls gdb gnumake ]; }; });
}