Commit 8d39b4fb authored by Qiming Chu's avatar Qiming Chu
Browse files

add-determinism: 0.6.0 -> 0.7.0



Signed-off-by: default avatarQiming Chu <cchuqiming@gmail.com>
parent ddcff422
Loading
Loading
Loading
Loading
+286 −200

File changed.

Preview size limit exceeded, changes collapsed.

+2 −11
Original line number Diff line number Diff line
@@ -10,13 +10,13 @@

rustPlatform.buildRustPackage rec {
  pname = "add-determinism";
  version = "0.6.0";
  version = "0.7.0";

  src = fetchFromGitHub {
    owner = "keszybz";
    repo = "add-determinism";
    tag = "v${version}";
    hash = "sha256-QFhed8YTgvfm6bB/cRsrnN0foplJhK1b9IYD9HGdJUc=";
    hash = "sha256-jUBHIdqPuK95jNNMFeSgj0xd3WSneqRa0kcVDhFC3aw=";
  };

  # this project has no Cargo.lock now
@@ -24,15 +24,6 @@ rustPlatform.buildRustPackage rec {
    lockFile = ./Cargo.lock;
  };

  patches = [
    # fix MetadataExt imports for macOS builds, will be removed when the PR is merged:
    # https://github.com/keszybz/add-determinism/pull/48
    (fetchpatch {
      url = "https://github.com/Emin017/add-determinism/commit/0c6c4d1c78c845ab6b6b0666aee0e2dc85492205.patch";
      sha256 = "sha256-y5blOfQuZ5GMug4cDkDDKc5jaGgQEYtLTuuLl041sZs=";
    })
  ];

  postPatch = ''
    ln -s ${./Cargo.lock} Cargo.lock
  '';