mirror of
https://github.com/SebastianStork/advent-of-code.git
synced 2026-01-21 15:41:34 +01:00
Add go devshell
This commit is contained in:
parent
4adbe68617
commit
d27f5aa016
1 changed files with 17 additions and 12 deletions
29
flake.nix
29
flake.nix
|
|
@ -8,18 +8,23 @@
|
|||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in
|
||||
{
|
||||
devShells.${system}.cpp =
|
||||
pkgs.mkShell.override
|
||||
{
|
||||
stdenv = pkgs.clangStdenv;
|
||||
}
|
||||
{
|
||||
packages = with pkgs; [
|
||||
gdb
|
||||
clang-tools
|
||||
qt6.full
|
||||
];
|
||||
};
|
||||
devShells.${system} = {
|
||||
cpp =
|
||||
pkgs.mkShell.override
|
||||
{
|
||||
stdenv = pkgs.clangStdenv;
|
||||
}
|
||||
{
|
||||
packages = with pkgs; [
|
||||
gdb
|
||||
clang-tools
|
||||
qt6.full
|
||||
];
|
||||
};
|
||||
go = pkgs.mkShell {
|
||||
packages = with pkgs; [ go ];
|
||||
};
|
||||
};
|
||||
|
||||
formatter.${system} = pkgs.nixfmt-rfc-style;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue