From df3bbbebcd329775ff6254fa5012b1361cedce80 Mon Sep 17 00:00:00 2001 From: David McFarland Date: Tue, 8 Oct 2024 20:01:20 -0300 Subject: [PATCH] dotnet: fix updateScript --- pkgs/development/compilers/dotnet/build-dotnet.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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; {