diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index 8f34f3a..78b5b98 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -3,7 +3,7 @@ "isRoot": true, "tools": { "fantomas": { - "version": "6.3.0-alpha-006", + "version": "6.3.0-alpha-007", "commands": [ "fantomas" ] diff --git a/flake.nix b/flake.nix index 94e769a..4cd8abd 100644 --- a/flake.nix +++ b/flake.nix @@ -44,8 +44,8 @@ }; in { packages = { - fantomas = dotnetTool null "fantomas" (builtins.fromJSON (builtins.readFile ./.config/dotnet-tools.json)).tools.fantomas.version "sha256-JnXRh/XankJChL8fy39iqcUUQhi70xeKzIFrjWGCRl8="; - fsharp-analyzers = dotnetTool "FSharp.Analyzers.Cli" "fsharp-analyzers" (builtins.fromJSON (builtins.readFile ./.config/dotnet-tools.json)).tools.fsharp-analyzers.version "sha256-CWMW06ncSs8QkQvxNPNrgn3TAzMU6qCT1k2A3pnGrYQ="; + fantomas = dotnetTool null "fantomas" (builtins.fromJSON (builtins.readFile ./.config/dotnet-tools.json)).tools.fantomas.version (builtins.head (builtins.filter (elem: elem.pname == "fantomas") ((import ./nix/deps.nix) {fetchNuGet = x: x;}))).sha256; + fsharp-analyzers = dotnetTool "FSharp.Analyzers.Cli" "fsharp-analyzers" (builtins.fromJSON (builtins.readFile ./.config/dotnet-tools.json)).tools.fsharp-analyzers.version (builtins.head (builtins.filter (elem: elem.pname == "fsharp-analyzers") ((import ./nix/deps.nix) {fetchNuGet = x: x;}))).sha256; fetchDeps = let flags = []; runtimeIds = ["win-x64"] ++ map (system: pkgs.dotnetCorePackages.systemToDotnetRid system) dotnet-sdk.meta.platforms; diff --git a/nix/deps.nix b/nix/deps.nix index c913aec..9044ada 100644 --- a/nix/deps.nix +++ b/nix/deps.nix @@ -4,12 +4,12 @@ (fetchNuGet { pname = "fsharp-analyzers"; version = "0.23.0"; - sha256 = "sha256-CWMW06ncSs8QkQvxNPNrgn3TAzMU6qCT1k2A3pnGrYQ="; + sha256 = "sha256-CWMW06ncSs8QkQvxNPNrgn3TAzMU6qCT1k2A3pnGrYQ= "; }) (fetchNuGet { pname = "fantomas"; - version = "6.3.0-alpha-006"; - sha256 = "sha256-JnXRh/XankJChL8fy39iqcUUQhi70xeKzIFrjWGCRl8="; + version = "6.3.0-alpha-007"; + sha256 = "sha256-uZw6h6k/DS4BcYtK9cv8TLS0H8MZDO3WBaPPTdtTgu0="; }) (fetchNuGet { pname = "ApiSurface";