cryptominisat: fix static build
This commit is contained in:
parent
67dc7cc993
commit
75e6297d10
|
@ -17,8 +17,14 @@ stdenv.mkDerivation rec {
|
|||
hash = "sha256-8oH9moMjQEWnQXKmKcqmXuXcYkEyvr4hwC1bC4l26mo=";
|
||||
};
|
||||
|
||||
buildInputs = [ python3 boost ];
|
||||
nativeBuildInputs = [ cmake ];
|
||||
strictDeps = true;
|
||||
buildInputs = [ boost ];
|
||||
nativeBuildInputs = [ python3 cmake ];
|
||||
|
||||
# musl does not have sys/unistd.h
|
||||
postPatch = ''
|
||||
substituteInPlace src/picosat/picosat.c --replace-fail '<sys/unistd.h>' '<unistd.h>'
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "An advanced SAT Solver";
|
||||
|
|
Loading…
Reference in New Issue
Block a user