{ description = "Dev shell"; inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; utils.url = "github:numtide/flake-utils"; }; outputs = { self, nixpkgs, utils }: utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { inherit system; config = { allowUnfree = true; }; }; dotnetRuntime = pkgs.dotnet-runtime_10.passthru.unwrapped; in { devShells.default = pkgs.mkShell { buildInputs = with pkgs; [ go gopls gotools delve golangci-lint pkgs.dotnet-runtime_10 patchelf ]; shellHook = '' export DOTNET_ROOT="${dotnetRuntime}/share/dotnet" export DOTNET_ROOT_X64="${dotnetRuntime}/share/dotnet" export LD_LIBRARY_PATH="${pkgs.stdenv.cc.cc.lib}/lib:${pkgs.zlib}/lib:/run/opengl-driver/lib:$LD_LIBRARY_PATH" echo " == Dev shell loaded == " ''; }; } ); }