Now able to get a field from a path

This commit is contained in:
2026-02-03 23:31:54 -06:00
parent 30236924a0
commit 2a016dad89
5 changed files with 86 additions and 3 deletions

30
flake.nix Normal file
View File

@@ -0,0 +1,30 @@
{
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 //"
'';
};
});
};
}