31 lines
723 B
Nix
31 lines
723 B
Nix
{
|
|
description = "Session Zero development environment";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
};
|
|
|
|
outputs = { self, nixpkgs }:
|
|
let
|
|
supportedSystems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
|
|
|
|
forAllSystems = f: nixpkgs.lib.genAttrs supportedSystems (system: f {
|
|
pkgs = import nixpkgs { inherit system; };
|
|
});
|
|
in
|
|
{
|
|
devShells = forAllSystems ({ pkgs }: {
|
|
default = pkgs.mkShell {
|
|
nativeBuildInputs = with pkgs; [
|
|
dotnet-sdk
|
|
omnisharp-roslyn
|
|
];
|
|
|
|
shellHook = ''
|
|
echo "// SESSION ZERO DEV SHELL //"
|
|
'';
|
|
};
|
|
});
|
|
};
|
|
}
|