diff --git a/pkgs/development/compilers/dotnet/build-dotnet.nix b/pkgs/development/compilers/dotnet/build-dotnet.nix index 246cc9ade717..0c9de3f05cab 100644 --- a/pkgs/development/compilers/dotnet/build-dotnet.nix +++ b/pkgs/development/compilers/dotnet/build-dotnet.nix @@ -161,9 +161,7 @@ mkCommon type rec { updateScript = let - majorVersion = - with lib; - concatStringsSep "." (take 2 (splitVersion version)); + majorVersion = lib.concatStringsSep "." (lib.take 2 (lib.splitVersion version)); in writeShellScript "update-dotnet-${majorVersion}" '' pushd pkgs/development/compilers/dotnet