Skip to content

Commit

Permalink
Merge pull request #81655 from clkamp/licensor-fix-test
Browse files Browse the repository at this point in the history
licensor: Fix test in 2020 from upstream
  • Loading branch information
Mic92 committed Mar 10, 2020
2 parents bc98978 + c8299d6 commit ef89f71
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pkgs/tools/misc/licensor/default.nix
@@ -1,4 +1,4 @@
{ lib, rustPlatform, fetchFromGitHub }:
{ lib, rustPlatform, fetchFromGitHub, fetchpatch }:

rustPlatform.buildRustPackage rec {
pname = "licensor";
Expand All @@ -11,6 +11,11 @@ rustPlatform.buildRustPackage rec {
sha256 = "0zr8hcq7crmhrdhwcclc0nap68wvg5kqn5l93ha0vn9xgjy8z11p";
};

patches = [ (fetchpatch {
url = "https://github.com/raftario/licensor/commit/77ae1ea6d9b6de999ee7590d9dbd3c8465d70bb6.patch";
sha256 = "0kfyg06wa2v7swm7hs9kkazjg34mircd4nm4qmljyzjh2yh8icg3";
})];

# Delete this on next update; see #79975 for details
legacyCargoFetcher = true;

Expand Down

0 comments on commit ef89f71

Please sign in to comment.