Skip to content

Commit

Permalink
cryptominisat: use fetchpatch
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed Jul 9, 2020
1 parent e3d703b commit 223c91d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 31 deletions.

This file was deleted.

10 changes: 8 additions & 2 deletions pkgs/applications/science/logic/cryptominisat/default.nix
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, cmake, python3, xxd, boost }:
{ stdenv, fetchFromGitHub, cmake, python3, xxd, boost, fetchpatch }:

stdenv.mkDerivation rec {
pname = "cryptominisat";
Expand All @@ -11,7 +11,13 @@ stdenv.mkDerivation rec {
sha256 = "00hmxdlyhn7pwk9jlvc5g0l5z5xqfchjzf5jgn3pkj9xhl8yqq50";
};

patches = [ ./0001-fix-build-on-Nix-macOS.patch ];
patches = [
(fetchpatch {
# https://github.com/msoos/cryptominisat/pull/621
url = "https://github.com/msoos/cryptominisat/commit/11a97003b0bfbfb61ed6c4e640212110d390c28c.patch";
sha256 = "0hdy345bwcbxz0jl1jdxfa6mmfh77s2pz9rnncsr0jzk11b3j0cw";
})
];

buildInputs = [ python3 boost ];
nativeBuildInputs = [ cmake xxd ];
Expand Down

0 comments on commit 223c91d

Please sign in to comment.