1
0
This repository has been archived on 2024-11-25. You can view files and clone it, but cannot push or open issues or pull requests.
CPP_Module_00/flake.nix

37 lines
702 B
Nix
Raw Normal View History

2024-10-24 22:48:29 +02:00
{
description = "A Nix-flake-based C/C++ development environment";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
pogit.url = "github:y-syo/pogit";
};
outputs = inputs:{ nixpkgs, flake-utils, ... }: flake-utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
in
{
devShells = ({
default = pkgs.mkShell.override
{
}
{
buildInputs = with pkgs; [
gcc
clang
];
packages = with pkgs; [
clang
gcc
gdb
norminette
valgrind
inputs.pogit.packages.${pkgs.system}.default
git
];
};
});
});
}