diff --git a/pkgs/development/compilers/dotnet/build-dotnet.nix b/pkgs/development/compilers/dotnet/build-dotnet.nix index b43d30eb6c82..3d48e1d98178 100644 --- a/pkgs/development/compilers/dotnet/build-dotnet.nix +++ b/pkgs/development/compilers/dotnet/build-dotnet.nix @@ -194,10 +194,10 @@ mkCommon type rec { let majorVersion = lib.concatStringsSep "." (lib.take 2 (lib.splitVersion version)); in - writeShellScript "update-dotnet-${majorVersion}" '' - pushd pkgs/development/compilers/dotnet - exec ${./update.sh} "${majorVersion}" - ''; + [ + ./update.sh + majorVersion + ]; }; meta = with lib; {