rest of the split migration
This commit is contained in:
22
modules/dev/cc/common.nix
Normal file
22
modules/dev/cc/common.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{ pkgs }:
|
||||
let
|
||||
packages = builtins.attrValues {
|
||||
inherit (pkgs)
|
||||
clang
|
||||
clang-tools
|
||||
gcc
|
||||
gdb
|
||||
valgrind
|
||||
;
|
||||
};
|
||||
in
|
||||
{
|
||||
inherit packages;
|
||||
devShell = pkgs.mkShell {
|
||||
inherit packages;
|
||||
name = "cc-dev-shell";
|
||||
shellHook = ''
|
||||
echo "🔧 C/C++ dev environment"
|
||||
'';
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user