Commit 20deb8ca authored by Paul TREHIOU's avatar Paul TREHIOU Committed by Niklas Korz
Browse files

sonarr: replace patch by mv command

parent d2fc1231
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
Move NuGet configuration file to the source root where Nixpkgs .NET
build infrastructure expects to find it.

https://github.com/NixOS/nixpkgs/pull/291640#discussion_r1601841807

diff --git a/src/NuGet.Config b/NuGet.Config
similarity index 100%
rename from src/NuGet.Config
rename to NuGet.Config
+20 −21
Original line number Diff line number Diff line
@@ -31,11 +31,10 @@ let
      tag = "v${version}";
      hash = "sha256-gtEDrAosI0Kyk712Kf8QDuloUBq9AArKdukX/PKAo8M=";
    };
    patches =
      [
        ./nuget-config.patch
      ]
      ++ lib.optionals (lib.versionOlder version "5.0") [
    postPatch = ''
      mv src/NuGet.Config NuGet.Config
    '';
    patches = lib.optionals (lib.versionOlder version "5.0") [
      # See https://github.com/Sonarr/Sonarr/issues/7442 and
      # https://github.com/Sonarr/Sonarr/pull/7443.
      # Unfortunately, the .NET 8 upgrade was only merged into the v5 branch,