mirror of
https://github.com/SebastianStork/advent-of-code.git
synced 2026-01-21 13:21: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};
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
devShells.${system}.cpp =
|
devShells.${system} = {
|
||||||
pkgs.mkShell.override
|
cpp =
|
||||||
{
|
pkgs.mkShell.override
|
||||||
stdenv = pkgs.clangStdenv;
|
{
|
||||||
}
|
stdenv = pkgs.clangStdenv;
|
||||||
{
|
}
|
||||||
packages = with pkgs; [
|
{
|
||||||
gdb
|
packages = with pkgs; [
|
||||||
clang-tools
|
gdb
|
||||||
qt6.full
|
clang-tools
|
||||||
];
|
qt6.full
|
||||||
};
|
];
|
||||||
|
};
|
||||||
|
go = pkgs.mkShell {
|
||||||
|
packages = with pkgs; [ go ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
formatter.${system} = pkgs.nixfmt-rfc-style;
|
formatter.${system} = pkgs.nixfmt-rfc-style;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue