From 5c5a9fb78c45f80330775286b65b5d78e3e99934 Mon Sep 17 00:00:00 2001 From: Rory& Date: Mon, 31 Mar 2025 09:32:24 +0200 Subject: Cleanup and some error handling --- ModerationClient/flake.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'ModerationClient/flake.nix') diff --git a/ModerationClient/flake.nix b/ModerationClient/flake.nix index 6c55fde..64476d1 100644 --- a/ModerationClient/flake.nix +++ b/ModerationClient/flake.nix @@ -16,12 +16,13 @@ libX11 libX11.dev ]; + dotnetSdk = pkgs.dotnetCorePackages.dotnet_9.sdk; in rec { # `nix develop` devShells.default = with pkgs; mkShell { buildInputs = [ - dotnetCorePackages.dotnet_9.sdk + dotnetSdk fontconfig gnumake icu @@ -29,9 +30,9 @@ ] ++ xorgLibs; shellHook = '' - export DOTNET_ROOT=${dotnet-sdk} + export DOTNET_ROOT=${dotnetSdk} export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${lib.makeLibraryPath ([ fontconfig icu openssl ] ++ xorgLibs) } ''; }; }); -} \ No newline at end of file +} -- cgit 1.5.1