aboutsummaryrefslogtreecommitdiff
path: root/conjure/solvers.nix
diff options
context:
space:
mode:
authorTom Harley2020-12-06 22:32:26 +0000
committerTom Harley2020-12-06 22:32:26 +0000
commit911a3d771c0fdae11c4943078ae16a9059fcb327 (patch)
tree7345d650f70b2450f2a24d66c46b7c1be5ffb74b /conjure/solvers.nix
parentMake repo name more general (diff)
downloadmagpkgs-911a3d771c0fdae11c4943078ae16a9059fcb327.tar.gz
magpkgs-911a3d771c0fdae11c4943078ae16a9059fcb327.zip

Fix conjure-minion.nix

conjure-minion.nix, the version of conjure that currently works, was made unbuildable because of the custom makeOverriable implementation. I’ve reverted to using the nixpkgs implementation for now, but would like to make a functional version myself at some point.

Diffstat (limited to 'conjure/solvers.nix')
-rw-r--r--conjure/solvers.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/conjure/solvers.nix b/conjure/solvers.nix
index fd576a7..63f22b5 100644
--- a/conjure/solvers.nix
+++ b/conjure/solvers.nix
@@ -4,6 +4,10 @@
, unzip
, callPackage
+, zlib
+, gmp
+, gmpxx
+
, savilerow
, ...
@@ -57,7 +61,7 @@ let
})).override { minion = minion-2; };
});
-in with pkgs; addSavileRow (obj [
+in addSavileRow (obj [
{ pname = "bc_minisat_all_release"; libs = [ zlib ]; }
{ pname = "fzn-chuffed"; libs = [ stdenv.cc.cc ]; dontStrip = true; }
{ pname = "fzn-gecode"; libs = [ stdenv.cc.cc ]; dontStrip = true; }