From 911a3d771c0fdae11c4943078ae16a9059fcb327 Mon Sep 17 00:00:00 2001 From: Tom Harley Date: Sun, 6 Dec 2020 22:32:26 +0000 Subject: 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. --- conjure/solvers.nix | 6 +++++- default.nix | 2 +- 2 files changed, 6 insertions(+), 2 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; } diff --git a/default.nix b/default.nix index 6d01d6b..b11c717 100644 --- a/default.nix +++ b/default.nix @@ -5,7 +5,7 @@ let nixpkgs = import {}; in let magpkgs = rec { - callPackage = path: args: import path (nixpkgs // magpkgs // args); + callPackage = callPackageWith (nixpkgs // magpkgs); minion = callPackage ./minion {}; savilerow = callPackage ./savilerow {}; -- cgit v1.2.1