Setting up dev env and project structure
This commit is contained in:
1 parent
ab8357484a
commit
507e180134
28 files changed
+491
-29
No files matched your search
@@ -1,5 +1,5 @@
|
||||
{
|
||||
description = "VSSM dev environment";
|
||||
description = "vssm - dev environment";
|
||||
|
||||
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
|
||||
@@ -11,32 +11,18 @@
|
||||
in
|
||||
{
|
||||
devShells = forAllSystems (pkgs: {
|
||||
default = pkgs.mkShell.override { stdenv = pkgs.clangStdenv; } {
|
||||
nativeBuildInputs = with pkgs; [
|
||||
cmake
|
||||
ninja
|
||||
pkg-config
|
||||
clang-tools
|
||||
gdb
|
||||
valgrind
|
||||
default = pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
dotnetCorePackages.sdk_10_0
|
||||
netcoredbg
|
||||
omnisharp-roslyn
|
||||
git
|
||||
];
|
||||
|
||||
buildInputs = with pkgs; [
|
||||
boost
|
||||
curl
|
||||
libarchive
|
||||
openssl
|
||||
zlib
|
||||
zstd
|
||||
nlohmann_json
|
||||
spdlog
|
||||
cli11
|
||||
# dotnet-runtime_8
|
||||
];
|
||||
|
||||
shellHook = ''
|
||||
export CMAKE_EXPORT_COMPILE_COMMANDS=1
|
||||
'';
|
||||
# disable telemetry, banner, and dev HTTPS cert generation
|
||||
DOTNET_CLI_TELEMETRY_OPTOUT = "1";
|
||||
DOTNET_NOLOGO = "1";
|
||||
DOTNET_GENERATE_ASPNET_CERTIFICATE = "false";
|
||||
};
|
||||
});
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user