Skip to content

Commit

Permalink
Merge pull request #220551 from SuperSandro2000/nix-dedupe-patch
Browse files Browse the repository at this point in the history
nix: dedupe fix-requires-non-existing-output patch
  • Loading branch information
SuperSandro2000 authored Mar 23, 2023
2 parents 41d3d22 + 65da8d4 commit 763415d
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions pkgs/tools/package-management/nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,13 @@ let
sha256 = "sha256-tI5nKU7SZgsJrxiskJ5nHZyfrWf5aZyKYExM0792N80=";
};

patch-non-existing-output = fetchpatch {
# https://github.com/NixOS/nix/pull/7283
name = "fix-requires-non-existing-output.patch";
url = "https://github.com/NixOS/nix/commit/3ade5f5d6026b825a80bdcc221058c4f14e10a27.patch";
sha256 = "sha256-s1ybRFCjQaSGj7LKu0Z5g7UiHqdJGeD+iPoQL0vaiS0=";
};

in lib.makeExtensible (self: {
nix_2_3 = (common rec {
version = "2.3.16";
Expand Down Expand Up @@ -82,12 +89,7 @@ in lib.makeExtensible (self: {
sha256 = "sha256-B9EyDUz/9tlcWwf24lwxCFmkxuPTVW7HFYvp0C4xGbc=";
patches = [
./patches/flaky-tests.patch
(fetchpatch {
# https://github.com/NixOS/nix/pull/7283
name = "fix-requires-non-existing-output.patch";
url = "https://github.com/NixOS/nix/commit/3ade5f5d6026b825a80bdcc221058c4f14e10a27.patch";
sha256 = "sha256-s1ybRFCjQaSGj7LKu0Z5g7UiHqdJGeD+iPoQL0vaiS0=";
})
patch-non-existing-output
patch-monitorfdhup
patch-sqlite-exception
];
Expand All @@ -98,12 +100,7 @@ in lib.makeExtensible (self: {
sha256 = "sha256-qCV65kw09AG+EkdchDPq7RoeBznX0Q6Qa4yzPqobdOk=";
patches = [
./patches/flaky-tests.patch
(fetchpatch {
# https://github.com/NixOS/nix/pull/7283
name = "fix-requires-non-existing-output.patch";
url = "https://github.com/NixOS/nix/commit/3ade5f5d6026b825a80bdcc221058c4f14e10a27.patch";
sha256 = "sha256-s1ybRFCjQaSGj7LKu0Z5g7UiHqdJGeD+iPoQL0vaiS0=";
})
patch-non-existing-output
patch-monitorfdhup
patch-sqlite-exception
];
Expand Down

0 comments on commit 763415d

Please sign in to comment.