monosat: remove 'with lib;'
This commit is contained in:
committed by
Valentin Gagarin
parent
bbe254322e
commit
09ade647a6
@@ -3,8 +3,6 @@
|
||||
# annoying and break the python library, so let's not bother for now
|
||||
includeJava ? !stdenv.hostPlatform.isDarwin, includeGplCode ? true }:
|
||||
|
||||
with lib;
|
||||
|
||||
let
|
||||
boolToCmake = x: if x then "ON" else "OFF";
|
||||
|
||||
@@ -52,14 +50,14 @@ let
|
||||
"-DCMAKE_SKIP_BUILD_RPATH=ON"
|
||||
];
|
||||
|
||||
postInstall = optionalString includeJava ''
|
||||
postInstall = lib.optionalString includeJava ''
|
||||
mkdir -p $out/share/java
|
||||
cp monosat.jar $out/share/java
|
||||
'';
|
||||
|
||||
passthru = { inherit python; };
|
||||
|
||||
meta = {
|
||||
meta = with lib; {
|
||||
description = "SMT solver for Monotonic Theories";
|
||||
mainProgram = "monosat";
|
||||
platforms = platforms.unix;
|
||||
|
||||
Reference in New Issue
Block a user