Files
nix-shells/cpp/flake.nix

31 lines
614 B
Nix
Raw Normal View History

2026-02-24 23:10:33 +01:00
{
description = "Central C++ Dev Shell";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable-small";
2026-02-27 21:32:50 +01:00
outputs =
{ self, nixpkgs }:
2026-02-24 23:10:33 +01:00
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
2026-02-27 21:32:50 +01:00
in
{
2026-02-24 23:10:33 +01:00
devShells.${system}.default = pkgs.mkShell {
nativeBuildInputs = with pkgs; [
gcc
cmake
ninja
gdb
pkg-config
2026-02-27 23:25:03 +01:00
valgrind
bind
2026-02-24 23:10:33 +01:00
];
buildInputs = with pkgs; [
];
shellHook = ''
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH
'';
};
};
2026-02-27 21:32:50 +01:00
}