Commit f97109a4 authored by David McFarland's avatar David McFarland
Browse files

dotnetCorePackages.dotnet_10.vmr: fix build on bash 5.3

Fixes: #430989
parent 66023e4d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -230,6 +230,8 @@ stdenv.mkDerivation rec {
      substituteInPlace \
        src/runtime/src/coreclr/ilasm/CMakeLists.txt \
        --replace-fail 'set_source_files_properties( prebuilt/asmparse.cpp PROPERTIES COMPILE_FLAGS "-O0" )' ""
    ''
    + lib.optionalString (lib.versionOlder version "10") ''

      # https://github.com/dotnet/source-build/issues/4444
      xmlstarlet ed \
@@ -237,8 +239,6 @@ stdenv.mkDerivation rec {
        -s '//Project/Target/MSBuild[@Targets="Restore"]' \
        -t attr -n Properties -v "NUGET_PACKAGES='\$(CurrentRepoSourceBuildPackageCache)'" \
        src/aspnetcore/eng/Tools.props
    ''
    + lib.optionalString (lib.versionOlder version "10") ''
      # patch packages installed from npm cache
      xmlstarlet ed \
        --inplace \