dev-templates/csharp/flake.nix

32 lines
608 B
Nix
Raw Normal View History

2023-05-25 21:23:06 +02:00
{
description = "A Nix-flake-based C# development environment";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/release-22.11";
flake-utils.url = "github:numtide/flake-utils";
};
outputs =
{ self
, nixpkgs
, flake-utils
}:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
in
{
devShells.default = pkgs.mkShell {
packages = with pkgs; [
#dotnet-sdk_6
dotnet-sdk_7
#dotnet-sdk_8
omnisharp-roslyn
mono
msbuild
];
};
});
}