23 lines
406 B
Nix
Executable file
23 lines
406 B
Nix
Executable file
{
|
|
description = "Dotnet flake for dotnet development";
|
|
outputs = {
|
|
self,
|
|
nixpkgs,
|
|
}: let
|
|
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
|
in {
|
|
devShells.x86_64-linux = {
|
|
default = with pkgs;
|
|
mkShell {
|
|
buildInputs = with pkgs; [
|
|
dotnet-sdk_8
|
|
];
|
|
|
|
shellHook = ''
|
|
echo "dotnet shell"
|
|
'';
|
|
};
|
|
};
|
|
};
|
|
}
|